We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83e9e68 commit d981609Copy full SHA for d981609
spng/spng.c
@@ -2847,7 +2847,7 @@ static int read_non_idat_chunks(spng_ctx *ctx)
2847
2848
translated_keyword_offset = term - data + 1;
2849
2850
- const unsigned char *zlib_stream = memchr(data + translated_keyword_offset, 0, peek_bytes - translated_keyword_offset);
+ zlib_stream = memchr(data + translated_keyword_offset, 0, peek_bytes - translated_keyword_offset);
2851
if(zlib_stream == NULL) return SPNG_EITXT;
2852
if(zlib_stream == peek_end) return SPNG_EITXT;
2853
0 commit comments