Closed
Bug 217558
Opened 23 years ago
Closed 20 years ago
[UMR] Conditional jump or move depends on uninitialised value(s) alg_fips186_1_x3_1
Categories
(NSS :: Libraries, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 287116
3.11.1
People
(Reporter: timeless, Unassigned)
Details
Attachments
(1 file)
|
2.05 KB,
text/plain
|
Details |
if (memcmp(x_j, rng->Xj, BSIZE) == 0) {
I believe that rng->Xj contains unitialized values, but i'm not 100% certain.
valgrind was running on boffo.
security/manager/Makefile.in was modified to pass mozilla cflags so that i could
get debug info
build is:
ac_add_options --enable-default-toolkit=xlib
ac_add_options --disable-debug
ac_add_options --enable-optimize="-O2 -g"
This is reproducable for me.
steps:
./run-mozilla.sh /usr/local/bin/valgrind --logfile-fd=3
./mozilla-bin 1>~/out 2>~/err 3>~/valgrind
create a new profile
(once i did this using the profile manager and once i just had no profiles)
load
http://www.eightlines.com/neil/mozskin/installjar.html
enter /tmp/OSXilla.jar in the file field
click install
click install
click ok
quit
check valgrind log.
Comment 2•23 years ago
|
||
Ian, Nelson, could you review this UMR report in
prng_fips1861.c?
Assignee: wtc → bugz
Summary: [UMR] Conditional jump or move depends on uninitialised value(s) alg_fips186_1_x3_1 → [UMR] Conditional jump or move depends on uninitialised value(s) alg_fips186_1_x3_1
Comment 3•23 years ago
|
||
RNG_RandomUpdate calls this update function with the address of the global rng
context, which address is kept in a global variable globalrng. That global rng
context is allocated with a call to PORT_ZAlloc, so it is not uninitialized.
My guess is that the value of the variable globalrng has been clobbered in the
build being tested.
can you suggest some way for me to detect/spot such a corruption?
Updated•21 years ago
|
QA Contact: bishakhabanerjee → jason.m.reid
Updated•20 years ago
|
Assignee: bugz → nobody
QA Contact: jason.m.reid → libraries
Version: 4.0 → 3.3
Comment 5•20 years ago
|
||
*** This bug has been marked as a duplicate of 287116 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Target Milestone: --- → 3.11.1
You need to log in
before you can comment on or make changes to this bug.
Description
•