Subject: libosmocore.git branch master updated. 0.6.1-32-gcd195fa
From: [email-masked]
To: [email-masked]
Date: Tue, 6 Aug 2013 12:59:36 GMT

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  cd195fa267b1869156e6d675032fdafe3035bf5e (commit)
       via  ae15a2cac1a01e98e34b4ccd8932ae8f1b99186c (commit)
      from  a652abc5bf75435ba7f1c96ed914cf5805fc326f (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=cd195fa267b1869156e6d675032fdafe3035bf5e

commit cd195fa267b1869156e6d675032fdafe3035bf5e
Author: Jacob Erlbeck <[email-masked]>
Date:   Tue Aug 6 14:29:15 2013 +0200

    vty: Support multi-char separators and end strings
    
    In vty_cmd_string_from_valstr() include the real string lengths of
    the sep and end arguments into the buffer size calculation.

http://cgit.osmocom.org/libosmocore/commit/?id=ae15a2cac1a01e98e34b4ccd8932ae8f1b99186c

commit ae15a2cac1a01e98e34b4ccd8932ae8f1b99186c
Author: Jacob Erlbeck <[email-masked]>
Date:   Tue Aug 6 14:29:14 2013 +0200

    vty: Fix misusage of snprintf in vty/utils.c
    
    Compiled with ubuntu 1204 (precise), where -Wformat-security is enabled by
    -Wall.
    
    Test yields ok, but the current implementation doesn't properly support
    multi-character separators and end strings. So the test output is truncated.
    
    Addresses:
    utils.c: In function 'vty_cmd_string_from_valstr':
    utils.c:84:2: warning: format not a string literal and no format arguments [-Wformat-security]
    utils.c:84:2: warning: format not a string literal and no format arguments [-Wformat-security]
    utils.c:108:2: warning: format not a string literal and no format arguments [-Wformat-security]
    utils.c:108:2: warning: format not a string literal and no format arguments [-Wformat-security]

-----------------------------------------------------------------------

Summary of changes:
 .gitignore            |  1 +
 src/vty/utils.c       | 13 +++++++------
 tests/Makefile.am     |  9 +++++++--
 tests/testsuite.at    |  6 ++++++
 tests/vty/vty_test.c  | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/vty/vty_test.ok |  3 +++
 6 files changed, 76 insertions(+), 8 deletions(-)
 create mode 100644 tests/vty/vty_test.c
 create mode 100644 tests/vty/vty_test.ok

hooks/post-receive
-- 
An utility library for Open Source Mobile Communications