Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The code base has had a number of pointer/length overflow bugs, so I thought it would be a good idea to do a gcc build with -O2 -Wall -Wstrict-overflow=5 to flag any cases where we're doing pointer math on potentially huge offset values that might overflow. This can defeat boundary checking because of compiler optimizations.
Attaching a build on RH7 with the libtool commands altered to output the warnings for review.