Closed Bug 645748 Opened 15 years ago Closed 8 years ago

Investigate whether rehashStrings is safe for recursion

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: pnkfelix, Unassigned)

Details

From Bug 645646, comment 6: I said that because I saw rehashStrings on the stack twice. I'm sure that code wasn't intended to be re-entered. There is a separate bug here that findInternedString isn't honoring its documented contract: /** * intern without allocating memory, returns NULL if its not already interned */ Fixing that may or may not fix this bug. The call chain that Tommy is noting looks like this: findInternedString calls findStringUTF16 calls numStringsCheckLoadBalance may call rehashStrings (sometimes) calls mmfx_new_array
Assignee: nobody → fklockii
Status: NEW → ASSIGNED
Flags: flashplayer-qrb+
Flags: flashplayer-injection-
Flags: flashplayer-bug-
Target Milestone: --- → Future
Assignee: fklockii → nobody
Summary: AvmCore::findInternedString says it will never allocate, but it might → Investigate whether rehashStrings is safe for recursion
Status: ASSIGNED → NEW
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in before you can comment on or make changes to this bug.