about summary refs log tree commit diff
path: root/elf/ifuncmain1.c
diff options
context:
space:
mode:
authorPatsy Franklin <pfrankli@redhat.com>2018-06-26 10:35:03 -0400
committerPatsy Franklin <pfrankli@redhat.com>2018-06-26 14:26:01 -0400
commit05598a0907cad1350962e89b781215209a785d92 (patch)
tree644aa749e5a587a157945db9f92d1ad14daf603d /elf/ifuncmain1.c
parent06ab719d30b01da401150068054d3b8ea93dd12f (diff)
downloadglibc-05598a0907cad1350962e89b781215209a785d92.tar.gz
glibc-05598a0907cad1350962e89b781215209a785d92.tar.xz
glibc-05598a0907cad1350962e89b781215209a785d92.zip
In sem_open.c, pad was not initialized when __HAVE_64B_ATOMICS was
true.  On some arches this caused valgrind to warn about uninitialized
bytes when the struct was written to the file system.

This patch moves the initialization of pad outside of the
conditional.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'elf/ifuncmain1.c')
0 files changed, 0 insertions, 0 deletions