Closed Bug 627960 Opened 13 years ago Closed 13 years ago

Ginormous memory leak in NSData+AES

Categories

(Cloud Services Graveyard :: Firefox Home, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: st3fan, Assigned: st3fan)

Details

Both encryption and decryption methods do not properly deallocate the buffer. They should use initWithBytesNoCopy:length:freeWhenDone instead of initWithBytesNoCopy:length:.
And also, they do not return autoreleased objects. They should.
Fixed in https://hg.mozilla.org/services/fx-home/rev/85bce3fc65ab
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
how can this be tested?
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.