Skip Menu |
 

This queue is for tickets about the Games-RolePlay-MapGen CPAN distribution.

Report information
The Basics
Id: 124345
Status: open
Priority: 0/
Queue: Games-RolePlay-MapGen

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

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



Subject: Embedded nul in filenames needs updated handling
Download (untitled) / with headers
text/plain 116b
Please see the discussion in this ticket in the Perl 5 bug queue: https://rt.perl.org/Ticket/Display.html?id=132822
Download (untitled) / with headers
text/plain 622b
On Tue Feb 06 18:31:28 2018, JKEENAN wrote: Show quoted text
> Please see the discussion in this ticket in the Perl 5 bug queue: > > https://rt.perl.org/Ticket/Display.html?id=132822
Here are suggestions on how to fix it (noted in the discussion on p5p): * check for nul in the string before -f, always treating nul-containing strings as data strings; * discriminate between pathnames and data entirely based on looking like a data string, with no -f check at all; * suppress that category of warning in some narrow scope around -f; * drop the dual-use interface in favour of separate interfaces for pathnames and data strings.


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.