]> 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)
commit3698ce35b173cc543412b87ef6d17b850e67d66e
tree052b4e45cde6ba819b04c1d1d6973502722475f5
parente6ce16ae13a13cbb2d04c2f4d4799ad571e51f70
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.035167 seconds and 5 git commands to generate.