Bug 160702

Summary: Make directory reading code in iOSSimulatorDevices() more strict
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Tools / TestsAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dbates, lforschler, thorton
Priority: P2    
Version: Safari 9   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch none

Alexey Proskuryakov
Reported 2016-08-09 12:18:42 PDT
I had a file named 04926EB8-CB41-4819-99EE-707E8D916BF2.zip in ~/Library/Developer/CoreSimulator/Devices/, and that confused webkitdirs a little (it printed an error). Since this is not a valid device ID, let's not let that through.
Attachments
proposed patch (1.09 KB, patch)
2016-08-09 12:19 PDT, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2016-08-09 12:19:41 PDT
Created attachment 285660 [details] proposed patch
WebKit Commit Bot
Comment 2 2016-08-09 13:34:36 PDT
Comment on attachment 285660 [details] proposed patch Clearing flags on attachment: 285660 Committed r204292: <http://trac.webkit.org/changeset/204292>
WebKit Commit Bot
Comment 3 2016-08-09 13:34:40 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.