]> sourceware.org Git - glibc.git/commit
locale: Avoid zero-length array in _nl_category_names [BZ #24962]
authorFlorian Weimer <fweimer@redhat.com>
Thu, 5 Sep 2019 20:16:58 +0000 (22:16 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 5 Sep 2019 20:16:58 +0000 (22:16 +0200)
commitde18a7061c9bdff73d66502c55d6a3ea671fc6d9
treed3d4d3a27d9ac4aea5fc088a884cc2ec5f256ce7
parentab41100bab128fa98258aafbb0ab1622884cec4c
locale: Avoid zero-length array in _nl_category_names [BZ #24962]

The union wrapper is unnecessary because C allows to read any object
as a sequence of chars.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
ChangeLog
intl/dcigettext.c
locale/findlocale.c
locale/loadlocale.c
locale/localeinfo.h
locale/newlocale.c
locale/setlocale.c
This page took 0.041214 seconds and 5 git commands to generate.