Bug 24098

Summary: Bugs in ClipboardChromium
Product: WebKit Reporter: Scott Violet <sky>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: fishd
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
Fixes bugs outlined in description eric: review+

Description Scott Violet 2009-02-23 10:46:24 PST
ClipboardChromium has the following problems:

. It's possible for the extension to be empty, resulting in a bad file
  name, for example, 'foo.' or just '.'.
. We weren't restricting the size of the file to MAX_PATH.
. We weren't removing characters that are invalid for file system names.
Comment 1 Scott Violet 2009-02-23 10:54:35 PST
Created attachment 27885 [details]
Fixes bugs outlined in description
Comment 2 Eric Seidel (no email) 2009-02-23 11:18:17 PST
Comment on attachment 27885 [details]
Fixes bugs outlined in description

Doesn't look harmful.
Comment 3 Dimitri Glazkov (Google) 2009-02-23 11:36:45 PST
Landed as http://trac.webkit.org/changeset/41150.