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
Harald Welte 4d45ae8289 bridge.c: Fix some int vs. unsigned long type error
not only is it a signed/unsigned error, but on some architectures the
sizes of those two types are not identical, leading to a buffer overflow
on the stack. gcc-11.2 is complaining about it:

bridge.c: In function ‘ph_control’:
bridge.c:159:9: error: array subscript 2 is outside array bounds of ‘unsigned char[16]’ [-Werror=array-bounds]
  159 |         *d++ = c2;
      |         ^~~~
bridge.c:150:23: note: while referencing ‘data’
  150 |         unsigned char data[MISDN_HEADER_LEN+sizeof(int)+sizeof(int)];
      |                       ^~~~
2022-03-13 14:53:24 +01:00
bridge bridge.c: Fix some int vs. unsigned long type error 2022-03-13 14:53:24 +01:00
capi20 mISDNcapid: remove irritating timeout warning 2019-02-13 00:00:18 +01: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.