Bug 24098 - Bugs in ClipboardChromium
Summary: Bugs in ClipboardChromium
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-23 10:46 PST by Scott Violet
Modified: 2009-02-23 11:36 PST (History)
1 user (show)

See Also:


Attachments
Fixes bugs outlined in description (10.02 KB, patch)
2009-02-23 10:54 PST, Scott Violet
eric: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.