[Piuparts-devel] Bug#649335: Bug#649335: piuparts: limit output generated by commands being run
Holger Levsen
holger at layer-acht.org
Sun Nov 20 16:19:25 UTC 2011
Hi Andreas,
On Sonntag, 20. November 2011, Andreas Beckmann wrote:
> Bad maintainer scripts can go havoc and go into infinite loops
> producing infinite output. Popen.communicate() happily buffers all
> this until the system runs out of memory.
[...]
> A patch that replaces Popen.communicate() with a limited read of
> 1 MB is available at
> git://github.com/anbe42/piuparts.git fix/excessive-output
awesome!
Can you please increase that limit to 2mb before I merge the patch?! :)
The largest legitimate logfile on piatti currently is
lenny2squeeze/pass/gnome_1:2.30+7.log with 1672360 bytes.
cheers,
Holger
More information about the Piuparts-devel
mailing list