[Date Prev][Date Next]
Re: using uninitialised value? (ITS#3086)
Full_Name: praveen n
OS: linux kernel 2.4.20-28.7
Submission from: (NULL) (18.104.22.168)
this issue does not seem to have an impact, but purify complains about using
uninitialised values in decode.c.
I could not find any issues but it this is there from openldap 2.0.23. My logs
are for openldap2.1.29.
ftp://ftp.openldap.org/incoming/praveenn-040415.txt has the full stack trace for
several functions using the 'culprit' line:
ber->ber_tag = *(unsigned char *)ber->ber_ptr;
I am not sure if the bug happens in the beginning or end of the ber_ptr array.
If you need anything else let me know.
UMR: Uninitialized memory read:
* This is occurring while in:
* Reading 1 byte from 0x840ea2c in the heap.
* Address 0x840ea2c is 12 bytes into a malloc'd block at 0x840ea20 of 13
* This block was allocated from: