Closed Bug 628031 Opened 15 years ago Closed 7 years ago

Constant Pool parser gives a namespace with a name index of 0 the "Undefined" atom.

Categories

(Tamarin Graveyard :: Documentation, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX
Q1 12 - Brannan

People

(Reporter: jstpierre, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b10pre) Gecko/20110120 Firefox-4.0/4.0b10pre Build Identifier: AbcParser.cpp, in parseCpool: if (index) { // ... } else { // issue this looks wrong. should uri be ""? Atom uri = undefinedAtom; cpool_ns.set(i, core->internNamespace(core->newNamespace(uri, type))); } It indeed does look wrong, according to public documentation: http://learn.adobe.com/wiki/display/AVM2/4.4+String It's also a simple patch, and that patch is attached. Reproducible: Always
Attached patch Patch.Splinter Review
Attachment #506131 - Flags: review?(stejohns)
Hmm... it may be "wrong", but we'll need to vet it against existing content to see if this change would break something. (It may be that it's simpler to change the documentation to match the code.)
OS: Linux → Windows CE
right, the "bug" is that the docs and verifier don't agree. we can consider a doc patch as well, both would resolve the discrepancy. If we change the verifier then we can decide to do it retroactively or only for new versions.
Yeah, IMHO changing the docs is the simpler and safer fix... granted the current behavior is arguably useless, it's easy to workaround.
Should I resolve this as NOTABUG, or do we want to resolve this as a doc bug? The only case that I can think of that would break this is if somebody is using 'pushnamespace 0' as a synonym for 'pushundefined', otherwise a Multiname with an undefined namespace won't ever resolve.
You should leave it alone; once you filed it, we deal with it. (Though not always in a timely manner.)
FWIW, I vote we address this by documenting the peculiarity.
Assigning to Andre to for the doc fix.
Component: Verifier → Documentation
Flags: in-testsuite-
Flags: flashplayer-qrb+
Flags: flashplayer-injection-
Flags: flashplayer-bug-
OS: Windows CE → All
Priority: -- → P4
QA Contact: verifier → documentation
Hardware: x86_64 → All
Target Milestone: --- → Q3 11 - Serrano
Attachment #506131 - Flags: review?(stejohns)
Target Milestone: Q3 11 - Serrano → Q1 12 - Brannan
Blocks: avmspec
Tamarin is a dead project now. Mass WONTFIX.
Status: UNCONFIRMED → RESOLVED
Closed: 7 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.

Attachment

General

Created:
Updated:
Size: