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 "Osmocom network interface library".
The branch, master has been updated
via 59941982083f7f0d6ab11f7bbb42c297a3fb8d69 (commit)
from 14af167a5553519d8164f4a21556888535eeefeb (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/libosmo-netif/commit/?id=59941982083f7f0d6ab11f7bbb…
commit 59941982083f7f0d6ab11f7bbb42c297a3fb8d69
Author: Pablo Neira Ayuso <pablo(a)gnumonks.org>
Date: Tue Sep 12 12:44:53 2017 +0200
src: _snprintf() helper functions nul-terminate buffers, if possible
This patch inconditionally initializes the buffer we get to
nul-terminate it, whenever possible. It's a very simple solution to
catch three overly corner cases:
1) snprintf() returns -1, very much unlikely in practise.
2) msg->len == 0: In such case, I would expect this function is never
called with an empty message, but let's be safe in this case too.
3) If your buffer is empty, it doesn't nul-terminate the buffer.
Change-Id: I97e517f2d98e83894ea707c63489559302ff6bd2
-----------------------------------------------------------------------
Summary of changes:
src/osmux.c | 3 +++
src/rtp.c | 3 +++
2 files changed, 6 insertions(+)
hooks/post-receive
--
Osmocom network interface library