Comment 13 for bug 1841409

Revision history for this message
In , Z-spam-b (z-spam-b) wrote :

Hm, thinking about it: g_strv_length requires a NULL-terminated array. Currently, I can't test it, but would it suffice to extend the array with a NULL-element, i.e. adding +1 to the calls to g_new0 when initializing the array?