1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/daemons/clvmd
Zdenek Kabelac 28e319ddc0 clvmd: fix valgrind memory report
Avoid reading already released memory and do a continue directly.

Invalid read of size 1
   at 0x1201B0: main_loop (clvmd.c:931)
   by 0x11F640: main (clvmd.c:666)
 Address 0x72ddef0 is 32 bytes inside a block of size 224 free'd
   at 0x4C30D18: free (vg_replace_malloc.c:530)
   by 0x54D6FD1: dm_free_wrapper (dbg_malloc.c:357)
   by 0x122E6E: process_work_item (clvmd.c:2034)
   by 0x123003: lvm_thread_fn (clvmd.c:2085)
   by 0x590A3A8: start_thread (pthread_create.c:465)
   by 0x5C3C7FE: clone (in /usr/lib64/libc-2.25.90.so)
 Block was alloc'd at
   at 0x4C2FB6B: malloc (vg_replace_malloc.c:299)
   by 0x54D6EF1: dm_malloc_aux (dbg_malloc.c:286)
   by 0x54D6F1C: dm_zalloc_aux (dbg_malloc.c:291)
   by 0x54D6F96: dm_zalloc_wrapper (dbg_malloc.c:345)
   by 0x11F89C: local_rendezvous_callback (clvmd.c:731)
   by 0x1203D2: main_loop (clvmd.c:964)
   by 0x11F640: main (clvmd.c:666)
2017-07-17 12:30:01 +02:00
..
.gitignore gitignore: Update for in-place build. 2015-07-27 13:18:35 +01:00
clvm.h gcc: cleanup Wunused-const-variable 2016-02-23 14:41:24 +01:00
clvmd-cman.c doc: change fsf address 2016-01-21 12:11:37 +01:00
clvmd-command.c clvmd: add client id to debug log messages 2017-07-01 01:17:40 +01:00
clvmd-common.h doc: change fsf address 2016-01-21 12:11:37 +01:00
clvmd-comms.h doc: change fsf address 2016-01-21 12:11:37 +01:00
clvmd-corosync.c clvmd: add mutex protection for cpg_ call 2017-02-05 17:55:37 +01:00
clvmd-openais.c doc: change fsf address 2016-01-21 12:11:37 +01:00
clvmd-singlenode.c doc: change fsf address 2016-01-21 12:11:37 +01:00
clvmd.c clvmd: fix valgrind memory report 2017-07-17 12:30:01 +02:00
clvmd.h doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm-functions.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm-functions.h doc: change fsf address 2016-01-21 12:11:37 +01:00
Makefile.in doc: change fsf address 2016-01-21 12:11:37 +01:00
refresh_clvmd.c doc: change fsf address 2016-01-21 12:11:37 +01:00
refresh_clvmd.h doc: change fsf address 2016-01-21 12:11:37 +01:00