]> sourceware.org Git - lvm2.git/commit
libdaemon: check for strdup result
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 14 Dec 2012 00:00:36 +0000 (01:00 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Sat, 15 Dec 2012 16:23:26 +0000 (17:23 +0100)
commit788ac7fa547fb98f0edd38685d40b80609f298dc
tree3b880d98565d80de373c8117b056d2bc3fd73b9c
parentff5612c0c3208276763348e9f9afa9a09096fbe1
libdaemon: check for strdup result

Detect failure of dm_pool_strdup() and print error in fail path.
Save one extra strchr call - since we already know the distance
for the '=' character.

Drop stack trace from return after log_error().
WHATS_NEW
libdaemon/client/config-util.c
This page took 0.031733 seconds and 5 git commands to generate.