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 a5e2162cf16f2e9208b60431bc4799b4bcdd4b42 (commit)
via 3da9aa6b6792407d57816ec4a4cdfd0b4b3434b8 (commit)
from 6cb9e7d8981e127161f14f22ad9271252c531aec (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=a5e2162cf16f2e9208b60431bc47…
commit a5e2162cf16f2e9208b60431bc4799b4bcdd4b42
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sat Dec 16 01:18:53 2017 +0100
ctrl: separate handling of GET_REPLY, SET_REPLY and TRAP
So far, error reporting just says "Trap/Reply", more accurately report
'GET
REPLY', 'SET REPLY' and 'TRAP' as appropriate.
Change-Id: Ic25a251502499aeda4e2952ec4190a1fa0bebb01
http://cgit.osmocom.org/libosmocore/commit/?id=3da9aa6b6792407d57816ec4a4cd…
commit 3da9aa6b6792407d57816ec4a4cdfd0b4b3434b8
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Tue Sep 26 14:21:44 2017 +0200
ctrl: tighten CTRL input parsing
Validate that incoming CTRL commands...
- have decimal IDs,
- return error on trailing characters,
- have invalid characters in variable identifiers,
- send detailed error messages as reply to the requestor.
Adjust ctrl_test.{c,ok}, which best show the change in behavior.
Message handling causes log messages on stderr; previously, stderr was empty.
Add '[ignore]' in testsuite.at so that the nonempty stderr doesn't cause
test
failures.
Change-Id: I96a9b6b6a3a5e0b80513aa9eaa727ae8c9c7d7a1
-----------------------------------------------------------------------
Summary of changes:
src/ctrl/control_cmd.c | 104 ++++++++++++++++++++++++++++++++++++---------
tests/ctrl/ctrl_test.c | 110 ++++++++++++++++++++----------------------------
tests/ctrl/ctrl_test.ok | 76 ++++++++++++---------------------
tests/testsuite.at | 2 +-
4 files changed, 159 insertions(+), 133 deletions(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications