[Bug libstdc++/69285] New: libstdc++-v3/include/parallel/partition.h: 2 * array index check after use ?
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jan 14 21:35:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69285
Bug ID: 69285
Summary: libstdc++-v3/include/parallel/partition.h: 2 * array
index check after use ?
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
1.
[trunk/libstdc++-v3/include/parallel/partition.h:294]: (style) Array index
'__final_left' is used before limits check.
while (__pred(__begin[__final_left])
&& __final_left < __final_right)
++__final_left;
2.
[trunk/libstdc++-v3/include/parallel/partition.h:170]: (style) Array index
'__thread_left' is used before limits check.
while (__pred(__begin[__thread_left])
&& __thread_left <= __thread_left_border)
++__thread_left;
More information about the Gcc-bugs
mailing list