Closed
Bug 23320
Opened 25 years ago
Closed 25 years ago
JS_[Push|Convert]Arguments do not correctly tag address of va_list
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
RESOLVED
FIXED
M13
People
(Reporter: waterson, Assigned: waterson)
Details
Attachments
(1 file)
1.15 KB,
patch
|
Details | Diff | Splinter Review |
On some platforms (e.g., Linux/PPC), the va_list is defined as an array, in
which case, it is not correct to take the addressof the ``ap'' object.
Tip o' the hat to Franz Sirl for that; see
news://news.mozilla.org/4.2.2.19991206110734.04a3e4c0%40mail.lauterbach.com
Attaching a patch for jsapi.cpp that does this...
Assignee | ||
Comment 1•25 years ago
|
||
Assignee | ||
Comment 2•25 years ago
|
||
FWIW, this bug was submitted using Mozilla 5.0, Linux/PPC!
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M13
Comment 3•25 years ago
|
||
Thanks! Who defines HAVE_VA_LIST_AS_ARRAY, anyhoo?
Waterson, would you be willing to check in, ra=brendan@mozilla.org? My js tree
is holding big changes, including to jsapi.c. I'm happy to roll this one in,
but I won't be checking in till early next week.
/be
Assignee | ||
Updated•25 years ago
|
Assignee: brendan → waterson
Status: ASSIGNED → NEW
Assignee | ||
Comment 4•25 years ago
|
||
n.p., I'll check it in. The HAVE_VA_LIST_ARRAY is defined as part of our
autoconfig joy. Will this cause you any grief in modular JS-land?
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•25 years ago
|
||
fix checked in. mozilla lives on Linux/PPC!
You need to log in
before you can comment on or make changes to this bug.
Description
•