[ros-dev] [ros-diffs] [cgutman] 36337: - Zero the memory after we allocate it
Aleksey Bragin
aleksey at reactos.org
Sat Sep 20 10:21:28 CEST 2008
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 at 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
More information about the Ros-dev
mailing list