[Popcon-developers] invalid UTF-8 in by_inst

Bill Allombert ballombe at debian.org
Tue Feb 3 22:08:03 UTC 2015


On Tue, Feb 03, 2015 at 12:21:16PM +0800, Paul Wise wrote:
> Hi,
> 
> The current by_inst has invalid UTF-8 on lines 96386 and 144364, causing
> the qa.d.o code that consumes these files to crash. I'll add a fix for
> this in the qa.d.o code but it would be nice to have the popcon service
> cope with very invalid data being sent to it.

It is not quite easy to fix this on the popcon server-side because broken
reports are still signal (potentially).

In general, popcon data should be considered as untrusted and any program
processing them should be ready to handle anything.

One major cause of broken reports is the lack of checksum.
Hopefully with the generalization of encrypted reports (which are checksummed),
this issue will be solved.

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 



More information about the Popcon-developers mailing list