]> sourceware.org Git - lvm2.git/commit
Check reallocated buffer for NULL before use
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 30 Nov 2010 22:11:26 +0000 (22:11 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 30 Nov 2010 22:11:26 +0000 (22:11 +0000)
commit41cf252f0b3f30cdad57c1514b5974956e1c635e
tree052b4e45cde6ba819b04c1d1d6973502722475f5
parent8191fe4f4aebfa6ef55977ba6dfa8ebe01f8d06f
Check reallocated buffer for NULL before use

As *buf is reallocated in case CLVMD_CMD_TEST: test for NULL is needed
before printing status.
(realloc() == NULL and status != 0)
WHATS_NEW
daemons/clvmd/clvmd-command.c
This page took 0.035296 seconds and 5 git commands to generate.