[Reportbug-maint] Bug#606171: reportbug crashing on non-ascii characters

Sandro Tosi morph at debian.org
Sun Jan 2 15:37:27 UTC 2011


Hi Manuel,
thanks for your help

On Tue, Dec 28, 2010 at 14:52, Manuel Pégourié-Gonnard <mpg at elzevir.fr> wrote:
> Hi Sandro,
>
> Le 26/12/2010 22:40, Sandro Tosi a écrit :
>> do you really have this char
>>
>> $ python -c "print u'\xc3'"
>> Ã
>>
>> in a config file, or a path to a conffile? :)
>>
> Not in a path :-) But, recursively grepping for non-ascii chars in /etc/munin, I
> found that /etc/munin/plugins/interrupts (or more precisely, the files this link
> points to) contains the following line:
>
>        Idea and base from Ragnar Wisløff.
>
> The character "ø" is actually the two bytes 0xc3 0xb8 (the file seems to be
> encoded in UTF-8).

Oh, now I see

>> No, the crash happens where the code is enlisting the config files
>> (<path> + <conffile name>), so it should be one of the munin-node
>> conffile: can you confirm?
>>
> I think the above confirms.
>
> Please let me know if you need more information.

Well, I'm not exactly sure why this is happening (it should have not)
but could you try to apply the attached patch to /usr/bin/reportbug
and try to replicate the problem?

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 606171.diff
Type: application/mbox
Size: 584 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20110102/ee79acc6/attachment-0001.bin>


More information about the Reportbug-maint mailing list