Adium

Ticket #692 (closed defect: fixed)

Opened 7 years ago

Last modified 3 years ago

AIKeychain leaks memory

Reported by: Mark Rowe <adiumx.com@bdash.net.nz> Owned by: anybody
Milestone: Component: Adium Core
Version: Severity: normal
Keywords: Cc:
Patch Status:

Description

The documentation for SecKeychainFindInternetPassword notes that you should use the SecKeychainItemFreeContent function to free the memory pointed to by the passwordData parameter. Failing to do so results in a substantial memory leak.

Attachments

adium-AIKeychain-mem-leak-p1.patch Download (1.2 KB) - added by Mark Rowe <adiumx.com@…> 7 years ago.
Patch that calls SecKeychainItemFreeContent to free keychain-related memory when needed.
adium-AIKeychain-mem-leak-p2.patch Download (1.8 KB) - added by Mark Rowe <adiumx.com@…> 7 years ago.
Updated patch

Change History

Changed 7 years ago by Mark Rowe <adiumx.com@…>

Patch that calls SecKeychainItemFreeContent to free keychain-related memory when needed.

Changed 7 years ago by Mark Rowe <adiumx.com@…>

Updated patch

comment:1 Changed 7 years ago by Catfish_Man

  • Status changed from new to closed
  • Resolution set to fixed

(In [12492]) Patch from Mark Rowe to fix an AIKeychain memory leak. Fixes #692

comment:7 in reply to: ↑ " Changed 6 years ago by ProxyBase

[Change other data] [Recreate]|[+ss]

comment:12 Changed 6 years ago by matt

  • Keywords tracspam added
  • field_haspatch set to 0

comment:18 Changed 6 years ago by catfish_man

  • Status changed from reopened to closed
  • Resolution set to fixed

comment:21 Changed 6 years ago by tick

  • Keywords tracspam removed

comment:25 Changed 6 years ago by edr1084

  • Status changed from reopened to closed
  • Resolution set to fixed

comment:26 Changed 6 years ago by edr1084

  • Keywords tracspam added

comment:27 Changed 6 years ago by tick

  • Keywords tracspam removed

comment:28 Changed 3 years ago by zacw

  • Component changed from AIUtilities.framework to Adium Core

Removing AIUtilities component.

Note: See TracTickets for help on using tickets.