]> sourceware.org Git - lvm2.git/commit
lvmetad: fix segfault on i386
authorChristian Brauner <christian.brauner@canonical.com>
Sat, 11 Mar 2017 00:08:43 +0000 (01:08 +0100)
committerDavid Teigland <teigland@redhat.com>
Mon, 13 Mar 2017 18:37:07 +0000 (13:37 -0500)
commit46b735c937ce68e72d08997635321bf30240325d
treed0fbd4a3feea2648230394f9b35d07f5291599ad
parent5f2c942000b9e59105441eeaea7233b6c9c4f493
lvmetad: fix segfault on i386

Sending %d as format argument in lvmetad_vg_remove_pending() will cause
segfaults in config_make_nodes_v() when va_arg() casts to int64_t. Also, it is
clearly advertised in the lvm source code that using plain %d is prohibited, so
let's switch to FMTd64.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
lib/cache/lvmetad.c
libdaemon/client/config-util.c
This page took 0.038904 seconds and 5 git commands to generate.