[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