[PATCH] libosmocore[master]: osmo_strlcpy: sanitize: don't memcpy from NULL src even if l...

2017-11-21 Thread Neels Hofmeyr
Hello Max, Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/4940 to look at the new patch set (#2). osmo_strlcpy: sanitize: don't memcpy from NULL src even if len is 0 Some callers pass NULL and len == 0. The semantics are that we then

[PATCH] libosmocore[master]: osmo_strlcpy: sanitize: don't memcpy from NULL src even if l...

2017-11-20 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/4940 osmo_strlcpy: sanitize: don't memcpy from NULL src even if len is 0 Change-Id: I883048cf2807e606c6481634dbd569fc12aed889 --- M src/utils.c 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore