[webkit-reviews] review granted: [Bug 6272] XMLHttpRequest freezes on getting a missing document with overridden Content-Length : [Attachment 12426] proposed fix

bugzilla-request-daemon at macosforge.org bugzilla-request-daemon at macosforge.org
Sun Jan 14 14:04:06 PST 2007


Darin Adler <darin at apple.com> has granted Darin Adler <darin at apple.com>'s
request for review:
Bug 6272: XMLHttpRequest freezes on getting a missing document with overridden
Content-Length
http://bugs.webkit.org/show_bug.cgi?id=6272

Attachment 12426: proposed fix
http://bugs.webkit.org/attachment.cgi?id=12426&action=edit

------- Additional Comments from Darin Adler <darin at apple.com>
If the code is > XMLHttpRequestExceptionOffset, but < NETWORK_ERR, it looks
like the index into the nameTable is going to underflow. We need to add a check
for values < 0 to the line that gets the value from the nameTable or somehow
ensure the number is not negative.

r=me (but would be nice to fix that)



More information about the webkit-reviews mailing list