Uninitialized memory read in CERT_GetSSLCACerts()

RESOLVED FIXED in 3.1

Status

NSS
Libraries
P4
normal
RESOLVED FIXED
18 years ago
18 years ago

People

(Reporter: Fred Roeber, Assigned: Nelson Bolyard (seldom reads bugmail))

Tracking

x86
Windows NT

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
This is a replacement for internal Netscape bug
http://scopus/bugsplat/show_bug.cgi?id=113764

In HCL_1_51
[W] UMR: Uninitialized memory read in CERT_GetSSLCACerts {1 occurrence}
    Reading 4 bytes from 0x03983a8c (4 bytes at 0x03983a8c uninitialized)
    Address 0x03983a8c is 796 bytes into a 2071 byte block at 0x03983770
    Address 0x03983a8c points to a malloc'd block in heap 0x038f0000
    Thread ID: 0xb8
    Error location
        CERT_GetSSLCACerts [pcertdb.c:4728]
        SSL_ConfigSecureServer [sslsecur.c:722]
        prot_ssl_init  [prot_ssl.c:269]
        imap_main      [imapd.c:421]
        service_start  [service_win32.c:107]
        main           [imapd.c:465]
        mainCRTStartup [crtexe.c:338]
    Allocation location
        malloc         [dbgheap.c:129]
        PR_Malloc      [prmem.c:30]
        PL_ArenaAllocate [plarena.c:81]
        PORT_ArenaAlloc [secport.c:112]
        CollectDistNames [pcertdb.c:4661]
        certcallback   [pcertdb.c:4361]
        SEC_TraverseDBEntries [pcertdb.c:4306]
        SEC_TraversePermCerts [pcertdb.c:4393]
        CERT_GetSSLCACerts [pcertdb.c:4710]
        SSL_ConfigSecureServer [sslsecur.c:722]
        prot_ssl_init  [prot_ssl.c:269]
        imap_main      [imapd.c:421]
        service_start  [service_win32.c:107]
        main           [imapd.c:465]
        mainCRTStartup [crtexe.c:338]

Comment 1

18 years ago
Ian, could you take a look at this Purify UMR error?
Thanks.
Assignee: lord → mcgreer
Target Milestone: --- → 3.1
Version: unspecified → 3.0

Updated

18 years ago
Target Milestone: 3.1 → 3.2
(Assignee)

Comment 2

18 years ago
Reassigning to myself.  1 line fix coming soon.
Assignee: mcgreer → nelsonb
(Assignee)

Comment 3

18 years ago
Fixed in rev 1.4 of certhigh.c
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Priority: P3 → P4
Resolution: --- → FIXED
Target Milestone: 3.2 → 3.1
You need to log in before you can comment on or make changes to this bug.