Bug 165024

Summary: Hasher::addCharacters() should be able to handle zero length strings.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: Web Template FrameworkAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, cmarcelo, commit-queue, darin, dbates, ysuzuki
Priority: P2    
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch. ysuzuki: review+

Mark Lam
Reported 2016-11-21 22:18:05 PST
Currently, it will fail to handle zero length strings if it has a pending character.
Attachments
proposed patch. (4.22 KB, patch)
2016-11-21 22:23 PST, Mark Lam
ysuzuki: review+
Mark Lam
Comment 1 2016-11-21 22:23:38 PST
Created attachment 295327 [details] proposed patch.
Yusuke Suzuki
Comment 2 2016-11-21 22:26:46 PST
Comment on attachment 295327 [details] proposed patch. r=me
Mark Lam
Comment 3 2016-11-21 22:31:18 PST
Thanks for the review. Landed in r208958: <http://trac.webkit.org/r208958>.
Note You need to log in before you can comment on or make changes to this bug.