1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00

Fix another segfault in clvmd -R if no response from daemon received.

Missed the same problem in another function...
This commit is contained in:
Milan Broz 2010-07-01 21:46:09 +00:00
parent 185ac73d18
commit b5243aac02
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.70 - 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. Remove superfluous suspended device counter from clvmd.
Fix lvm shell crash when input is entirely whitespace. Fix lvm shell crash when input is entirely whitespace.
Update partial mode warning message. Update partial mode warning message.

View File

@ -285,7 +285,7 @@ int refresh_clvmd(int all_nodes)
{ {
int num_responses; int num_responses;
char args[1]; // No args really. char args[1]; // No args really.
lvm_response_t *response; lvm_response_t *response = NULL;
int saved_errno; int saved_errno;
int status; int status;
int i; int i;