This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via ebd3cddb4c75b284b0d3345ab81980f8f4b44b62 (commit)
from fe1ed39846c6537ebfe19d22500ee2e38587c143 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=ebd3cddb4c75b284b0d3345ab819…
commit ebd3cddb4c75b284b0d3345ab81980f8f4b44b62
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sat Nov 18 23:07:38 2017 +0100
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
nul-terminate an emtpy string. Avoid a sanitizer warning by not calling
memcpy() for the NULL case.
Change-Id: I883048cf2807e606c6481634dbd569fc12aed889
-----------------------------------------------------------------------
Summary of changes:
src/utils.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications