Closed Bug 247877 Opened 20 years ago Closed 20 years ago

jsdouble hashing code is not strict-aliasing safe

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bryner, Assigned: bryner)

Details

(Keywords: fixed1.7.5)

Attachments

(1 file)

This is what's causing the uninitialized value warnings from valgrind.  Patch
forthcoming.
Attached patch patchSplinter Review
use JSDOUBLE_HI32() and JSDOUBLE_LO32()
Attachment #151337 - Flags: review?(brendan)
Comment on attachment 151337 [details] [diff] [review]
patch

Cool, thanks -- old code, not caught in the jsnum.h dragnet the other year.

/be
Attachment #151337 - Flags: review?(brendan) → review+
checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Keywords: fixed1.7.x
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: