]> Git Repo - qemu.git/commit
linux-user: don't zero a buffer twice
authorPaul Bolle <[email protected]>
Fri, 2 Oct 2009 12:10:04 +0000 (14:10 +0200)
committerRiku Voipio <[email protected]>
Fri, 16 Oct 2009 11:36:36 +0000 (14:36 +0300)
commite2cc3f6ebe65f98171e07c6097c0bfa9171f6f0e
tree1ec4fe0b39ea824a8ab3a909d753a2f6995e561d
parent61322e91a177b7b79ac2df5a540fe67db2d9e2dd
linux-user: don't zero a buffer twice

prepare_binprm() zeroes bprm->buf. That buffer is already zeroed in
main() and hasn't been touched since so that is not necessary.

Signed-off-by: Paul Bolle <[email protected]>
Signed-off-by: Riku Voipio <[email protected]>
linux-user/linuxload.c
This page took 0.022869 seconds and 4 git commands to generate.