aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBenjamin Marzinski <[email protected]>2016-12-05 05:26:38 +0000
committerMike Snitzer <[email protected]>2016-12-08 19:13:15 +0000
commitb446396b7482938c859bfaa42320026d158616ae (patch)
tree214d463d2ca567c8969a70b1255edc1c15b61947 /net/unix/af_unix.c
parentdm space map metadata: skip useless memcpy in metadata_ll_init_index() (diff)
downloadkernel-b446396b7482938c859bfaa42320026d158616ae.tar.gz
kernel-b446396b7482938c859bfaa42320026d158616ae.zip
dm space map: always set ev if sm_ll_mutate() succeeds
If no block was allocated or freed, sm_ll_mutate() wasn't setting *ev, leaving the variable unitialized. sm_ll_insert(), sm_disk_inc_block(), and sm_disk_new_block() all check ev to see if there was an allocation event in sm_ll_mutate(), possibly reading unitialized data. If no allocation event occured, sm_ll_mutate() should set *ev to SM_NONE. Signed-off-by: Benjamin Marzinski <[email protected]> Acked-by: Joe Thornber <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions