Subject: | Coverity findings |
:
Zlib.xs:
Overlapping buffer in memory copy (BUFFER_SIZE)
5. overlapping_buffer: The source buffer list + 1 potentially overlaps with the destination buffer list, which results in undefined behavior for memcpy.
Use memmove instead of memcpy.
375 memcpy(list, list + 1, len - 1);
376 *last = tmp;
377 return;
378 }
inflate.c:
Unused value (UNUSED_VALUE)
assigned_value: Assigning value from !subvert to state->sane here, but that stored value is overwritten before it can be used.
1493 state->sane = !subvert;