Common library for all Osmocom projects (libosmocore, libosmogsm, libosmovty, libosmogb, libosmosim, libosmousb, ...) https://osmocom.org/projects/libosmocore
Go to file
Neels Hofmeyr a280b82f8e show bug in logging: erratic redirection to DLGLOBAL for first invalid category
Add a check to logging_test.c to show a bug: when a logging category value that
is the first out-of-bounds value is passed to the logging system, the internal
map_subsys() fails to redirect to DLGLOBAL due to a flawed conditional. This
results in a too large array index and undefined behavior. A sanitize build
should catch this.

The bug is confirmed by the fact that logging_test.err stays the same
(hopefully) although a logging output should appear from this patch. The test
could as well segfault or anything else, it's a bit of a gamble.

This bug will be fixed along with the expectation in a subsequent patch.

Change-Id: I12bf38b6c1f85e2d7bf5a15f942dfe0beed41eba
2016-12-12 15:47:51 +01:00
contrib contrib: add fsm-to-dot.py to draw osmo_fsm dotty graphs 2016-12-09 11:29:06 +00:00
debian debian: Fix packaging by requiring python-minimal 2016-05-10 11:43:25 +00:00
doc doc: osmocom-authn-protocol.txt: fix numbering, mark unused sync msgs 2016-12-11 03:42:58 +01:00
include import oap message parsing / encoding from openbsc.git; AGPL->GPL 2016-12-11 03:42:58 +01:00
m4 Create a dummy m4 directory to make autoreconf --install --force work 2010-03-24 02:55:33 +01:00
src fix logging: redirection to DLGLOBAL for invalid categories 2016-12-12 15:47:37 +01:00
tests show bug in logging: erratic redirection to DLGLOBAL for first invalid category 2016-12-12 15:47:51 +01:00
utils osmo-sim-test.c: Fix rmsg check 2016-11-26 14:03:04 +01:00
.gitignore wqueue: Reject messges if queue is considered full 2016-12-09 11:37:37 +01:00
.gitreview add .gitreview 2016-05-19 06:39:13 +00:00
.mailmap Add .mailmap file for mapping mail addresses in shortlog 2016-08-08 13:12:17 +02:00
COPYING add GPL to project source 2010-02-21 09:21:30 +01:00
Doxyfile.codec.in Doxygen: enable tagfile generation and usage for cross-project references 2016-04-24 19:48:05 +02:00
Doxyfile.core.in Doxygen: enable tagfile generation and usage for cross-project references 2016-04-24 19:48:05 +02:00
Doxyfile.gsm.in Doxygen: enable tagfile generation and usage for cross-project references 2016-04-24 19:48:05 +02:00
Doxyfile.vty.in Doxygen: enable tagfile generation and usage for cross-project references 2016-04-24 19:48:05 +02:00
Makefile.am import oap message parsing / encoding from openbsc.git; AGPL->GPL 2016-12-11 03:42:58 +01:00
TODO-RELEASE Implement GSMTAP log target 2016-12-09 17:59:58 +01:00
configure.ac build: make check: disable sim_test when built with --disable-pcsc 2016-11-16 16:40:44 +00:00
git-version-gen add git-version-gen magic to automatically generate package version 2010-03-23 00:30:19 +08:00
libosmocodec.pc.in codec: Add the missing bits for include to install and pkgconfig to work 2010-10-24 18:23:10 +02:00
libosmocore.pc.in talloc: Untested change to unbreak build 2015-12-10 19:50:29 +01:00
libosmoctrl.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmogb.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmogsm.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmosim.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmovty.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00