Remove OPJ_NOSANITIZE in opj_bio_read() and opj_bio_write() (#761) 955/head
authorEven Rouault <even.rouault@spatialys.com>
Sat, 17 Jun 2017 17:15:00 +0000 (19:15 +0200)
committerEven Rouault <even.rouault@spatialys.com>
Sat, 17 Jun 2017 17:15:00 +0000 (19:15 +0200)
commit8df2521a6015af7f69a378811986ddb0b3bfbd3a
tree1c413b3338a43c5b40ae9da9a7ff705c1a332a64
parent32b20b93e04d38303f736e975eb5f483fda01ca5
Remove OPJ_NOSANITIZE in opj_bio_read() and opj_bio_write() (#761)

Commit 29313eb5 introduced those flags to avoid issues with
-fsanitize=unsigned-integer-overflow
However it is better just to rewrite the loop to avoid such condition
to occur.
src/lib/openjp2/bio.c