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:
Philip Withnall 2019-05-02 13:27:53 +01:00
parent 22d4a44cd6
commit 7541085589

View File

@ -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 ())