WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
15542
don't pass nil to a method returning NSSize
https://bugs.webkit.org/show_bug.cgi?id=15542
Summary
don't pass nil to a method returning NSSize
Darin Adler
Reported
2007-10-17 13:10:29 PDT
A new debugging tool caught a place where we are calling a method that returns an NSSize, and passing it nil. This is not guaranteed to work correctly.
Attachments
patch, adds a special case for nil
(4.64 KB, patch)
2007-10-17 13:11 PDT
,
Darin Adler
mrowe
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2007-10-17 13:10:41 PDT
<
rdar://problem/5183775
>
Darin Adler
Comment 2
2007-10-17 13:11:27 PDT
Created
attachment 16706
[details]
patch, adds a special case for nil
Mark Rowe (bdash)
Comment 3
2007-10-17 13:31:37 PDT
Comment on
attachment 16706
[details]
patch, adds a special case for nil r=me
Mark Rowe (bdash)
Comment 4
2007-10-17 14:33:05 PDT
Darin landed this in
r26709
.
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