Osmocom fork of mISDNuser, contains some local fixes which we are also submitting upstream. Also contains a CVS import with better author name/mail annotation than upstream ('cvsimport' branch)
Go to file
Karsten Keil 710b87dcb9 Fix possible buffer overflows detected by newer GCC versions
GCC reports problems like this:

gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wall -Werror -I./include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT layer3/q931.lo -MD -MP -MF layer3/.deps/q931.Tpo -c layer3/q931.c  -fPIC -DPIC -o layer3/.libs/q931.o
In file included from /usr/include/string.h:494,
                 from layer3/q931.c:22:
In function ‘strncpy’,
    inlined from ‘mi_encode_redirecting_nr’ at layer3/q931.c:531:3:
/usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ forming offset [25, 31] is out of the bounds [0, 24] of object ‘ie’ with type ‘unsigned char[24]’ [-Werror=array-bounds]
   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks to Tobias Powalowski for reporting this
This commit fixes issue #9 on github.
2018-07-18 07:27:41 +02:00
bridge Fix: misdn_bridge now activates correct interface when L1 is down 2012-12-21 22:16:32 +01:00
capi20 Move code from SIGUSR (dump) and SIGTERM signal handlers 2018-06-25 12:34:48 +02:00
example Fix possible buffer overflows detected by newer GCC versions 2018-07-18 07:27:41 +02:00
guitools Remove autogenerated files 2012-08-02 12:46:39 +02:00
include export l3_ie2pos() and l3_pos2ie() 2017-07-30 22:29:25 +02:00
l1oip More warning fixes 2012-09-13 14:45:47 +02:00
lib Fix possible buffer overflows detected by newer GCC versions 2018-07-18 07:27:41 +02:00
tools Fix possible buffer overflows detected by newer GCC versions 2018-07-18 07:27:41 +02:00
.cvsignore Initial revision 2003-08-27 07:33:02 +00:00
.gitignore add flex artefact ylwrap 2017-07-30 22:29:25 +02:00
45-misdn.rules.in Install a udev rules file for mISDN 2011-12-06 17:27:41 +01:00
AUTHORS Use GNU autotools 2010-02-11 17:01:00 +01:00
COPYING.LIB license 2005-06-10 07:45:02 +00:00
CodeStyle Some code style helper 2011-10-29 13:53:00 +02:00
GNUmakefile Silence the Makefile tests 2012-08-03 09:11:10 +02:00
INSTALL Remove autogenerated files 2012-08-02 12:46:39 +02:00
LICENSE license 2005-06-10 07:45:02 +00:00
Makefile.am Fix references to source tree in VPATH builds 2012-05-30 18:48:58 +02:00
NEWS Version 2.0.2 2010-02-17 18:48:02 +01:00
README Remove autogenerated files 2012-08-02 12:46:39 +02:00
_config.yml Set theme jekyll-theme-merlot 2017-02-26 19:58:40 +01:00
acinclude.m4 Install a udev rules file for mISDN 2011-12-06 17:27:41 +01:00
checkout-branch.sh fixed checkout-branch script 2007-06-15 15:15:35 +02:00
configure.ac Version 2.0.22 2017-07-30 22:30:27 +02:00
mISDNuser.spec Restructure directories 2011-09-21 15:30:40 +02:00

README

This package contain the libmisdn library and some utilities for the
mISDN version 2 Linux ISDN stack.

To build it you need the GNU autotools:
automake
autoconf
libtools

You can create the files automatically with running make.

After this run ./configure with your options and make again.