Opened 7 years ago
Last modified 7 years ago
#6928 closed defect
pngdataset with FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION — at Initial Version
Reported by: | Kurt Schwehr | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | svn-trunk |
Severity: | normal | Keywords: | fuzzing libpng |
Cc: |
Description
With r38981, I'm getting an build failure with fuzzing when using libpng 1.6.29. I've not yet figured out a patch that will work across libpng versions, but this got 1.6.29 to work for me.
#ifdef DISABLE_CRC_CHECK # include "pngpriv.h" # include "pngstruct.h" #endif
frmts/png/pngdataset.cpp:472:9: error: member access into incomplete type 'png_struct' (aka 'png_struct_def') hPNG->flags &= ~PNG_FLAG_CRC_CRITICAL_MASK;
Note:
See TracTickets
for help on using tickets.