Closed Bug 637677 Opened 13 years ago Closed 12 years ago

Valgrind says we leak nsPK11Token::InitPassword

Categories

(Core :: Security: PSM, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 794358

People

(Reporter: philor, Unassigned)

References

Details

According to the (currently hidden) tinderbox Valgrind runs, e.g. http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1298990980.1298994265.5633.gz for 32-bit and http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1298991604.1298993963.3630.gz for 64-bit:

==19031== 12 bytes in 1 blocks are definitely lost in loss record 1,260 of 4,575
==19031==    at 0x40060E8: malloc (vg_replace_malloc.c:236)
==19031==    by 0x55B1037: PR_Malloc (in /builds/slave/valgrind-linux/objdir/nsprpub/pr/src/libnspr4.so)
==19031==    by 0x5CA95CB: PORT_Alloc_Util (in /builds/slave/valgrind-linux/objdir/nss/nssutil/libnssutil3.so)
==19031==    by 0x5CA6B75: sec_asn1e_allocate_item (in /builds/slave/valgrind-linux/objdir/nss/nssutil/libnssutil3.so)
==19031==    by 0x5CA7A51: SEC_ASN1EncodeItem_Util (in /builds/slave/valgrind-linux/objdir/nss/nssutil/libnssutil3.so)
==19031==    by 0x1278D4D7: ???
==19031==    by 0x1278D867: ???
==19031==    by 0x1278E190: ???
==19031==    by 0x12775587: ???
==19031==    by 0x5BEC96A: PK11_InitPin (in /builds/slave/valgrind-linux/objdir/nss/nss/libnss3.so)
==19031==    by 0x4AC1CA4: nsPK11Token::InitPassword(unsigned short const*) (in /builds/slave/valgrind-linux/objdir/toolkit/library/libxul.so)
==19031==
Bug 794358 has Valgrind stacks of this error with line numbers, and the suppression has been added to mozilla-central.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.