mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 11:42:10 +01:00
tests: Increase buffer size for g_strlcat() tests
There was a buffer overflow on the last g_strlcat() call in the test. Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #1768
This commit is contained in:
parent
22d4a44cd6
commit
7541085589
@ -312,7 +312,7 @@ static void
|
||||
test_strlcat (void)
|
||||
{
|
||||
gchar *str = "The quick brown fox jumps over the lazy dog";
|
||||
gchar str_cpy[45] = { 0 };
|
||||
gchar str_cpy[60] = { 0 };
|
||||
gsize str_cpy_size = 0;
|
||||
|
||||
if (g_test_undefined ())
|
||||
|
Loading…
x
Reference in New Issue
Block a user