WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
Bug 54405
Fix coverity REVERSE_INULL errors
https://bugs.webkit.org/show_bug.cgi?id=54405
Summary
Fix coverity REVERSE_INULL errors
sangeetha.sugavanam
Reported
2011-02-14 11:47:41 PST
Created
attachment 82346
[details]
Patch fixing all the reverse_inull errors in coverity I am submitting a patch which fixes all the reverse_inull errors from coverity.
Attachments
Patch fixing all the reverse_inull errors in coverity
(2.20 KB, patch)
2011-02-14 11:47 PST
,
sangeetha.sugavanam
no flags
Details
Formatted Diff
Diff
patch fixing the coverity reverse_inull errors in webkit.org
(2.02 KB, patch)
2011-02-15 11:08 PST
,
sangeetha.sugavanam
darin
: review-
darin
: commit-queue-
Details
Formatted Diff
Diff
Changelog
(469.28 KB, text/plain)
2011-02-15 11:09 PST
,
sangeetha.sugavanam
darin
: review-
Details
View All
Add attachment
proposed patch, testcase, etc.
Suresh Voruganti
Comment 1
2011-02-14 12:51:07 PST
Updated Platform version to reflect Symbian and adding to Qtwebkit 2.1.1 Nice to have master bug
sangeetha.sugavanam
Comment 2
2011-02-15 11:08:44 PST
Created
attachment 82490
[details]
patch fixing the coverity reverse_inull errors in webkit.org
sangeetha.sugavanam
Comment 3
2011-02-15 11:09:50 PST
Created
attachment 82491
[details]
Changelog
WebKit Review Bot
Comment 4
2011-02-15 11:12:31 PST
Attachment 82491
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files']" exit_code: 1 Total errors found: 0 in 0 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Review Bot
Comment 5
2011-02-15 11:13:18 PST
Attachment 82490
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/dom/ContainerNode.cpp', u'S..." exit_code: 1 Source/WebCore/dom/ContainerNode.cpp:791: Missing space before ( in if( [whitespace/parens] [5] Source/WebCore/dom/ContainerNode.cpp:856: Missing space before ( in if( [whitespace/parens] [5] Source/WebCore/page/Chrome.cpp:400: Missing space before ( in if( [whitespace/parens] [5] Source/WebCore/page/Chrome.cpp:400: Missing space before { [whitespace/braces] [5] Source/WebCore/page/Chrome.cpp:413: Tab found; better to use spaces [whitespace/tab] [1] Source/WebCore/page/Chrome.cpp:552: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 6 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Darin Adler
Comment 6
2011-02-15 12:13:48 PST
Comment on
attachment 82490
[details]
patch fixing the coverity reverse_inull errors in webkit.org Style is wrong here. And we won’t just add null checks without test cases. We want to cover the cases where these are null, not just take the tool’s word for it. The tool helped us discover the missing null checks. Now human beings have to actually create test cases. Also, patches need to include the change log entries in them. Separately posting a copy of the entire change log is not acceptable.
Darin Adler
Comment 7
2011-02-15 12:14:03 PST
Comment on
attachment 82491
[details]
Changelog Not a patch, can’t be reviewed.
Alexis Menard (darktears)
Comment 8
2011-03-11 09:03:36 PST
Please follow the wiki for contributing patches :
http://www.webkit.org/coding/contributing.html
Thanks
sangeetha.sugavanam
Comment 9
2011-05-19 07:51:35 PDT
This bug can be ignored because reverse_inull errors cannot be proven through appropriate test cases.
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