aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2014-09-05 12:16:01 -0400
committerAl Viro <[email protected]>2014-11-19 13:01:26 -0500
commit08d4f7722268755ee34ed1c9e8afee7dfff022bb (patch)
tree5bdff1bad7fb49dd18102dc2d42f9638d8a5dfc8 /lib/mpi/mpiutil.c
parent9f45f5bf302daad6835ce64701fb3c286a2cc6af (diff)
dcache: fix kmemcheck warning in switch_names
This patch fixes kmemcheck warning in switch_names. The function switch_names swaps inline names of two dentries. It swaps full arrays d_iname, no matter how many bytes are really used by the strings. Reading data beyond string ends results in kmemcheck warning. We fix the bug by marking both arrays as fully initialized. Signed-off-by: Mikulas Patocka <[email protected]> Cc: [email protected] # v3.15 Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions