summaryrefslogtreecommitdiffstats
path: root/ax25/ax25d.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git://git.linux-ax25.org/pub/scm/ralf/ax25-toolsRalf Baechle2015-05-021-403/+403
|\ | | | | | | | | Conflicts: ax25/axspawn.c
| * Reformat consistently. Strictly whitespace changes only.Ralf Baechle2013-06-171-385/+385
| | | | | | | | | | | | | | Indentation by tabs only. Move case labels in switches are on the same level as the switch keyword. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| * Always have a space between if, for, switch, while and the following `('.Ralf Baechle2013-06-171-2/+2
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| * Use tabs for indentation, not spaces.Ralf Baechle2013-06-171-7/+7
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| * Remove useless initializations to 0 or NULL.Ralf Baechle2013-06-171-1/+1
| | | | | | | | | | | | | | They only inflate the .data section of the binary. Initializations to FALSE are still left to do. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| * Nuke trailing whitespace.Ralf Baechle2013-06-171-17/+17
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | Signed-off-by: Thomas Osterried <ax25@x-berg.in-berlin.de>Thomas Osterried2015-05-011-1/+1
|/ | | | | | | | | Security patch submitted by Jaroslav Skarvada <jskarvad@redhat.com> Netrom and ROSE Addresses are copied to Node. Room was enough for Netrom, but rose addresses returned by rose_ntoa() are one byte longer (a 10 bytes string plus null-termination) which lead to an buffer overflow.
* Weed out all use of RCS strings.Ralf Baechle2013-06-061-2/+0
| | | | | | | Their value has always been dubious and git doesn't support them so let's get rid of the clutter. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix for CVE-2011-2910: check return status of setuid(), ..Thomas Osterried2011-08-181-6/+10
|
* Remove use of backwards compatibility header name.Ralf Baechle2009-06-211-13/+1
| | | | | | Glibc as old as 2.2 provides working headers under the right name and if not libax25 would install headers under the right name so this has become redundant and ugly.
* Fix type of length argument to sockset syscalls.Ralf Baechle2009-06-141-3/+3
| | | | | | | | Various socket syscalls receive a length argument that should be a socklen_t rsp. a ptr to a socklen_t but instead int rsp. ptr to int were being passed. While in theory this was a bug it's harmless as dangerously large values would not be used but the issue manifested itself in a significant number of compilation warnings.
* Convert K&R-style function definitions to function prototypes.Ralf Baechle2009-06-141-3/+3
|
* Fix warnings about // style comment. And remove some of the mostRalf Baechle2007-01-231-5/+5
| | | | pointless comments.
* Fixed Length of NodeThomas Osterried2006-01-081-2/+2
| | | | | Here stood: static char Node[11]; /* Room for 'GB9ZZZ-15\0' */ ;))
* gcc4.0 is more pedantic than useful..Thomas Osterried2005-11-281-3/+3
|
* - better handling for IP mode VC connections (configurable viaThomas Osterried2005-10-301-31/+227
| | | | | | | | | ax25d.conf, see description in the header of ax25d.c) - due to a kernel bug in the ax25-stack, ax25d's accept() sometimes returns -ECONNABORTED, and ax25d never accepted new connections until kill -HUP or restart. on such an event, we'll re-read our config with ReadConfig() and obviously successfully re-obtain a valid listen-socket for that call on this interface.
* Import ax25-tools 0.0.3 from tarballax25-tools-0.0.3Ralf Baechle1999-07-081-1/+1
|
* Import ax25-tools 0.0.2 from tarballax25-tools-0.0.2Ralf Baechle1999-06-071-1/+14
|
* Import ax25-tools 0.0.1 from tarballax25-tools-0.0.1Ralf Baechle1999-04-211-0/+1195