bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] dd: do not unnecesarilly allocate memory for input block size, w


From: Ondřej Vašík
Subject: [PATCH] dd: do not unnecesarilly allocate memory for input block size, when not needed
Date: Fri, 22 May 2009 10:09:58 +0200

Hello,
as reported in https://bugzilla.redhat.com/show_bug.cgi?id=502026, in dd
is an unnecessary memory allocation for input block even if input block
buffer is not needed (skip and count set to 0). Attached patch should
prevent memory exhaustion error in that very special case. I guess
mentioning in NEWS is not required in that case...

Greetings,
         Ondřej Vašík

Attachment: dd-no-allocate.patch
Description: Text Data

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy


reply via email to

[Prev in Thread] Current Thread [Next in Thread]