I think if it's a generic buffer-allocating function, its callers
should not rely on the memory being zeroed. (like they don't rely on
pool and heap allocations, unless called with zero-heap flag).
At least the comments to the function does not say "it returns a
zeroed buffer".
WBR,
Aleksey.
On Sep 20, 2008, at 4:31 AM, cgutman(a)svn.reactos.org wrote:
Author: cgutman
Date: Fri Sep 19 19:31:02 2008
New Revision: 36337
URL:
http://svn.reactos.org/svn/reactos?rev=36337&view=rev
Log:
- Zero the memory after we allocate it
Modified:
branches/aicom-network-fixes/drivers/network/tcpip/tcpip/pool.c