Skip to content
Commit 16ab9f02 authored by Carlos Garnacho's avatar Carlos Garnacho
Browse files

core: Avoid possible buffer overruns

In some circumstances we may pass -1 as len to g_strndup(), that
does not follow the "-1 means strlen()" convention. Do this
ourselves.

CIDs: #1530151, #1530152
parent 126fe9b4
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