mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
fix another coverity bug
This commit is contained in:
parent
88cca804f0
commit
e379856030
@ -1,3 +1,8 @@
|
||||
2006-04-16 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gdate.c (g_date_fill_parse_tokens): Avoid an array
|
||||
overrun. (Coverity, fix by Pascal Terjan)
|
||||
|
||||
2006-04-07 Martyn Russell <martyn@imendio.com>
|
||||
|
||||
* tests/threadpool-test.c: (test_thread_stop_unused): Removed an
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-04-16 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gdate.c (g_date_fill_parse_tokens): Avoid an array
|
||||
overrun. (Coverity, fix by Pascal Terjan)
|
||||
|
||||
2006-04-07 Martyn Russell <martyn@imendio.com>
|
||||
|
||||
* tests/threadpool-test.c: (test_thread_stop_unused): Removed an
|
||||
|
@ -513,7 +513,7 @@ g_date_fill_parse_tokens (const gchar *str, GDateParseTokens *pt)
|
||||
{
|
||||
|
||||
i = 0;
|
||||
while (*s && g_ascii_isdigit (*s) && i <= NUM_LEN)
|
||||
while (*s && g_ascii_isdigit (*s) && i < NUM_LEN)
|
||||
{
|
||||
num[pt->num_ints][i] = *s;
|
||||
++s;
|
||||
|
Loading…
x
Reference in New Issue
Block a user