glew/auto
ibbem 37e6144802 Remove broken end of string checks in _glewStrSame
I think this code tried to check for a zero terminated null byte, but it
actually just checked if the address of the corresponding character is
non-zero, which is always true. These broken checks are simply dropped
because the following code assumes that the string `b` doesn't include a
null byte and all call sites already pass the length of the string
without counting the null byte.

This bug was found by gcc 12.1 which emits a warning on this kind of
code. Now glew builds without any warnings using gcc 12.1. See
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102103 for the
corresponding issue.
2022-06-13 12:21:23 +10:00
..
bin Fix various typos 2021-12-20 07:31:49 +10:00
core/gl GL_EXT_semaphore constants fix (Issue #249) 2019-12-23 08:56:49 +10:00
doc Fix various typos 2021-12-20 07:31:49 +10:00
src Remove broken end of string checks in _glewStrSame 2022-06-13 12:21:23 +10:00
blacklist Prune auto/core for GLX code generation from XML 2019-02-05 06:37:36 +10:00
custom.txt added customized subset selection 2004-12-31 08:50:04 +00:00
Makefile Use parse_xml.py for GLX code generation 2019-02-05 06:37:36 +10:00