Skip Menu |
 

This queue is for tickets about the Encode CPAN distribution.

Report information
The Basics
Id: 130266
Status: new
Priority: 0/
Queue: Encode

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

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



Subject: dead code in encengine.c:do_encode()
Download (untitled) / with headers
text/plain 658b
Picked up by running Coverity Scan on blead perl. This code checks dst: if (dst) { if (oend <= dend) { while (d < oend) *d++ = *out++; } else { /* Out of space */ code = ENCODE_NOSPACE; break; } } else d = oend; but at this point dst must be non-NULL because of the earlier check: if (!dst) return ENCODE_NOSPACE; Tony


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.