Closed Bug 506631 Opened 16 years ago Closed 3 years ago

nsSAXXMLReader should not use nsDependentString(PRUnichar(0))

Categories

(Core :: XML, defect)

defect
Not set
critical

Tracking

()

RESOLVED WONTFIX

People

(Reporter: timeless, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: coverity, Whiteboard: qa-not-actionable)

Attachments

(1 file, 1 obsolete file)

192 nsSAXXMLReader::HandleStartDTD(const PRUnichar *aName, 193 const PRUnichar *aSystemId, 194 const PRUnichar *aPublicId) 195 { 196 PRUnichar nullChar = PRUnichar(0); 197 if (!aName) 198 aName = &nullChar; 199 if (!aSystemId) 200 aSystemId = &nullChar; 201 if (!aPublicId) 202 aPublicId = &nullChar; 203 204 mSystemId = aSystemId; 205 mPublicId = aPublicId; 206 if (mLexicalHandler) { 207 return mLexicalHandler->StartDTD(nsDependentString(aName), 208 nsDependentString(aSystemId), 209 nsDependentString(aPublicId));
Attached patch patch (obsolete) — Splinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #390796 - Flags: review?(jonas)
Summary: nsSAXXMLReader::HandleStartDTD should use EmptyString → nsSAXXMLReader should not use nsDependentString(PRUnichar(0))
Attached patch for the classSplinter Review
Attachment #390796 - Attachment is obsolete: true
Attachment #390798 - Flags: review?(jonas)
Attachment #390796 - Flags: review?(jonas)
Comment on attachment 390798 [details] [diff] [review] for the class Removing review request while waiting for reply.
Whiteboard: qa-not-actionable

The bug assignee didn't login in Bugzilla in the last 7 months.
:peterv, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: timeless → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(peterv)
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(peterv)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: