diff options
Diffstat (limited to 'testing/glibc/glibc-2.14.1-tzfile-overflow.patch')
-rw-r--r-- | testing/glibc/glibc-2.14.1-tzfile-overflow.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/glibc/glibc-2.14.1-tzfile-overflow.patch b/testing/glibc/glibc-2.14.1-tzfile-overflow.patch index af996e7b6..9e21cbfd3 100644 --- a/testing/glibc/glibc-2.14.1-tzfile-overflow.patch +++ b/testing/glibc/glibc-2.14.1-tzfile-overflow.patch @@ -59,7 +59,7 @@ index 144e20b..402389c 100644 + if (__builtin_expect (tzspec_len < num_isstd, 0)) + goto lose; + tzspec_len -= num_isstd; -+ if (__builtin_expect (tzspec == 0 || tzspec_len - 1 < num_isgmt, 0)) ++ if (__builtin_expect (tzspec_len == 0 || tzspec_len - 1 < num_isgmt, 0)) + goto lose; + tzspec_len -= num_isgmt + 1; + if (__builtin_expect (SIZE_MAX - total_size < tzspec_len, 0)) |