summaryrefslogtreecommitdiffstats
path: root/src/gbm/gbm-symbols-check
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsalvez <[email protected]>2015-09-29 16:10:02 +0200
committerSamuel Iglesias Gonsalvez <[email protected]>2015-09-30 08:13:07 +0200
commitf3afcbecc63ec565a0386cda554d145ca908367d (patch)
tree35071a2c95ba2c99e134b949fb870fa3bc367176 /src/gbm/gbm-symbols-check
parent023165a734b3bae52a449ad01bc1ea5ba4384ec1 (diff)
util: use strnlen() in strndup() implementations
If the string being copied is not NULL-terminated the result of strlen() is undefined. Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]> Reviewed-by: Neil Roberts <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gbm/gbm-symbols-check')
0 files changed, 0 insertions, 0 deletions