WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
145124
[EFL] Fix false positive array-bounds warnings in MiniBrowser's main.c
https://bugs.webkit.org/show_bug.cgi?id=145124
Summary
[EFL] Fix false positive array-bounds warnings in MiniBrowser's main.c
Csaba Osztrogonác
Reported
2015-05-18 03:17:45 PDT
../../Tools/MiniBrowser/efl/main.c:557:2092: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:561:2093: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:561:4146: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:561:4255: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:564:2092: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:564:4129: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:564:4238: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:567:2092: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:570:2092: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:580:1965: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:580:2074: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:586:1965: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:586:2074: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:589:1965: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:589:2074: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:610:1980: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:610:2089: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:614:1980: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:614:2089: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:625:1980: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] ../../Tools/MiniBrowser/efl/main.c:625:2089: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds] related LLVM bug report:
https://llvm.org/bugs/show_bug.cgi?id=21614
It is a bug in libc or LLVM ... maybe we need some workaround here until the proper fix.
Attachments
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2017-03-11 10:45:07 PST
Closing this bug because the EFL port has been removed from trunk. If you feel this bug applies to a different upstream WebKit port and was closed in error, please either update the title and reopen the bug, or leave a comment to request this.
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