Package: libconfig-tiny-perl
Version: 2.12-1
Severity: normal

        Hi!

 The module is able to read and write multiline values pretty well. Though, it 
seems to use hardwired the string EOT for the here documents it writes into the 
config file, and when a multiline string actually contains EOT on a single line 
the module breaks the file for itself to be able to read it back in.

 I would suggest rejecting to accept such a value. I see it that there is an 
explicit SetParameterEOT($section, $EOT) mentioned in the manpage to mitigate 
the effect of this, but the module really shouldn't break the file in the first 
place and rather reject such values. Also it might be helpful to set the marker 
not by section but actually even by section/value pair. That way one wouldn't 
have to scan through all the multiline values of a section to find a marker 
that wouldn't break the section.

 Thanks,
Gerfried Fuchs



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to