[Webkit-unassigned] [Bug 144339] CString should be more consistent about disallowing null bytes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 28 14:20:37 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=144339

Yusuke Suzuki <utatane.tea at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |utatane.tea at gmail.com

--- Comment #2 from Yusuke Suzuki <utatane.tea at gmail.com> ---
Thank you for opening a new bug and great analysis!

So what direction do you prefer? In both directions, I think the assertion in the original issue should be removed because

1. If CString should not contain a null character, this should be asserted in CString side instead of SHA1::addBytes.

2. If CString can contain a null character, this assertion becomes incorrect.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150428/4a5cdee7/attachment.html>


More information about the webkit-unassigned mailing list