]> sourceware.org Git - glibc.git/commit
time: Avoid memcmp overread in tzset (bug 31931)
authorFlorian Weimer <fweimer@redhat.com>
Wed, 26 Jun 2024 17:36:58 +0000 (19:36 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 27 Jun 2024 06:25:32 +0000 (08:25 +0200)
commit21738846a19eb4a36981efd37d9ee7cb6d687494
tree5cf79d255b8e92ca21a4b11aeaaa59bf1786319e
parentb79238db4ac7b8e710c8cab4307ce6cb1c3937d8
time: Avoid memcmp overread in tzset (bug 31931)

The test does not necessarily trigger the crash, depending on memcmp
behavior.  A crash was observed in __memcmp_ia32 on i686 builds.

Reviewed-by: Paul Eggert <eggert@cs.ucla.edu>
time/Makefile
time/tst-tzfile-fault.c [new file with mode: 0644]
time/tzfile.c
This page took 0.087468 seconds and 5 git commands to generate.