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 886d6fdec605e47ec19a3e37dd9596c525178a54 (commit)
from a4842afc83334f97653e6cca6220b19f53696509 (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=886d6fdec605e47ec19a3e37dd95…
commit 886d6fdec605e47ec19a3e37dd9596c525178a54
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Dec 12 13:49:03 2016 +0100
fix logging: log_set_category_filter() for internal DL* logging cats
In log_set_category_filter(), passing a negative index lead to memory
corruption. Particularly dangerous since the internal logging categories have
negative values.
Fix: apply map_subsys() to interpret negative values as internal logging
categories.
As a side effect, out-of-bounds logging categories will be mapped to DLGLOBAL
instead of being dropped.
Fix the expectations in logging_test to match the fixed bug.
While at it also guard against a NULL logging target.
Change-Id: Ib0725b22bc39498c6b3970a61eb3339cf56d19f1
-----------------------------------------------------------------------
Summary of changes:
src/logging.c | 3 ++-
tests/logging/logging_test.err | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications