]> sourceware.org Git - lvm2.git/commitdiff
Fix another segfault in clvmd -R if no response from daemon received.
authorMilan Broz <mbroz@redhat.com>
Thu, 1 Jul 2010 21:46:09 +0000 (21:46 +0000)
committerMilan Broz <mbroz@redhat.com>
Thu, 1 Jul 2010 21:46:09 +0000 (21:46 +0000)
Missed the same problem in another function...

WHATS_NEW
daemons/clvmd/refresh_clvmd.c

index b6b9831429e5370501686b85be826190894a5dfe..735f885ac92b66ed2c079d1a9c2f67dae6f55751 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 2.02.70 - 
 ================================
+  Fix another segfault in clvmd -R if no response from daemon received. (2.02.68)
   Remove superfluous suspended device counter from clvmd.
   Fix lvm shell crash when input is entirely whitespace.
   Update partial mode warning message.
index c3cae35b2bc6f8024172242d409f542032615b62..1e88b5cc80c43d30c19b9527ef2586e64943c755 100644 (file)
@@ -285,7 +285,7 @@ int refresh_clvmd(int all_nodes)
 {
        int num_responses;
        char args[1]; // No args really.
-       lvm_response_t *response;
+       lvm_response_t *response = NULL;
        int saved_errno;
        int status;
        int i;
This page took 0.041864 seconds and 5 git commands to generate.