Summary: | Reproducible crash calling myArray.sort(compareFn) from within a sort comparison function | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mark Rowe (bdash) <mrowe> | ||||||
Component: | JavaScriptCore | Assignee: | Mark Rowe (bdash) <mrowe> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Major | CC: | mrowe | ||||||
Priority: | P1 | Keywords: | HasReduction, InRadar | ||||||
Version: | 523.x (Safari 3) | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.5 | ||||||||
Attachments: |
|
Description
Mark Rowe (bdash)
2007-04-19 04:37:40 PDT
Created attachment 14087 [details]
Test. Click "Do it!" to crash.
One solution may be to use qsort_r rather than a static variable with qsort. I have a patch ready, and just need to package up a test case. Created attachment 14088 [details]
Patch
Comment on attachment 14088 [details]
Patch
r=me
|