Skip Menu |

This queue is for tickets about the IO-Compress CPAN distribution.

Report information
The Basics
Id: 105413
Status: resolved
Priority: 0/
Queue: IO-Compress

People
Owner: Nobody in particular
Requestors: JHI [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.068
Fixed in: 2.069



Subject: Coverity finding: Overlapping buffer in memory copy
While running Coverity for Perl code: Zlib.xs: 373 if (rot == 1) { 374 tmp = *list; CID 104769: 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;