Skip to content
Commit eef35b2d authored by Holger Berndt's avatar Holger Berndt
Browse files

Fix array termination and size calculation

When creating an array of element type uint8 and setting it directly with
memcpy(), make sure that zero-termination is respected.

When calculating the length of a zero-terminated array of type uint8,
fall back to strlen() instead of g_strv_length().

https://bugzilla.gnome.org/show_bug.cgi?id=662550
parent 4c1d9f01
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment