WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
16597
There are no NULL checks for strings in public api
https://bugs.webkit.org/show_bug.cgi?id=16597
Summary
There are no NULL checks for strings in public api
Christian Dywan
Reported
2007-12-24 19:14:12 PST
A few functions in the public api don't check passed strings for NULL. This leads to unclear behavior or crashes. To some extent we will want to allow NULL if it is semantically reasonable.
Attachments
Add missing NULL checks for string parameters
(3.38 KB, patch)
2007-12-24 19:21 PST
,
Christian Dywan
alp
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Christian Dywan
Comment 1
2007-12-24 19:21:45 PST
Created
attachment 18099
[details]
Add missing NULL checks for string parameters This adds the missing NULL checks. Also webkit_web_view_load_string allows for NULL mime_type and encoding, defaulting to text/html and UTF-8 respectively.
Alp Toker
Comment 2
2007-12-24 21:59:26 PST
Comment on
attachment 18099
[details]
Add missing NULL checks for string parameters r=me (with discussed small coding style fixes)
Alp Toker
Comment 3
2007-12-24 22:00:34 PST
Landed in
r28978
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug