Difference between revisions of "LinuxAX25 LatestChanges"
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=== 2012-02-01 - dl9sau === | |||
Fixed bug in libax25 where Interfaces with calls without SSID were not found anymore. | |||
The issue a raised after a patch of ax25_ntoa() which reverted the behaviour. | |||
=== 2009-05-27 - dl9sau === | |||
ax25-tools/dmascc: | |||
dmascc_cfg.c did not compile on modern SuSE system. | |||
Because HZ is not a constant value anymore, we now use the | |||
appropriate sysconf() call. | |||
=== 2009-04-29 - dl9sau === | === 2009-04-29 - dl9sau === | ||
Line 7: | Line 19: | ||
Debuging with gdb showed that wtab->fline was a large negative number. | Debuging with gdb showed that wtab->fline was a large negative number. | ||
Now doing better checking that wtab->fline and wtab->lline is > 0. | Now doing better checking that wtab->fline and wtab->lline is >= 0. | ||
Seems that this fix is sufficient. If it will come out that it is not, we'll write a wtouchln() wrapper which checks if the arguments are positive and reasonable small. | Seems that this fix is sufficient. If it will come out that it is not, we'll write a wtouchln() wrapper which checks if the arguments are positive and reasonable small. | ||
Changes: | Changes: | ||
http://www.linux-ax25.org/cvsweb/ax25-apps/call/menu.c.diff?r1=1.2;r2=1.3;f=h | http://www.linux-ax25.org/cvsweb/ax25-apps/call/menu.c.diff?r1=1.2;r2=1.3;f=h | ||
=== 2009-04-09 - dl9sau === | === 2009-04-09 - dl9sau === |
Latest revision as of 23:23, 31 January 2012
2012-02-01 - dl9sau
Fixed bug in libax25 where Interfaces with calls without SSID were not found anymore. The issue a raised after a patch of ax25_ntoa() which reverted the behaviour.
2009-05-27 - dl9sau
ax25-tools/dmascc: dmascc_cfg.c did not compile on modern SuSE system. Because HZ is not a constant value anymore, we now use the appropriate sysconf() call.
2009-04-29 - dl9sau
Fixed segfault in call(1).
On modern systems, the ncurses gui crash in wtouchln() or wnoutrefresh() [ncurses functions], called from winclose() in menu.c.
Debuging with gdb showed that wtab->fline was a large negative number.
Now doing better checking that wtab->fline and wtab->lline is >= 0.
Seems that this fix is sufficient. If it will come out that it is not, we'll write a wtouchln() wrapper which checks if the arguments are positive and reasonable small.
Changes:
http://www.linux-ax25.org/cvsweb/ax25-apps/call/menu.c.diff?r1=1.2;r2=1.3;f=h
2009-04-09 - dl9sau
An 1 year old patch to libax25 introduced a bug: the call section in /etc/ax25/axports suddenly had to state "CALL-0" instead of "CALL". Since many people run the linux system behind a node software (like RMNC or XNet) and use a SSID in this setup, the problem did not shown up.
Other changes: security considerations, introduced by that patch.
- Never do a strcpy without length check. Ok, the parsed data came from the kernel. But hey, you know things are changing fast these days. It's better to give programs a chance for complaining that something is unexpected than just to let them segfault ;) - checks to !strdup() were striped off. Including error message and appropriate return value. The consideration on error messages by a library may be ok. But it's not ok to ignore on the one hand if the pointer is assigned to 0, and on the other hand to leave in other code parts untouched (blind strcmp(possible0, "foo")).
Changes visualized:
http://www.linux-ax25.org/cvsweb/libax25/axconfig.c.diff?r1=1.7;r2=1.10;f=h http://www.linux-ax25.org/cvsweb/libax25/nrconfig.c.diff?r1=1.4;r2=1.5;f=h http://www.linux-ax25.org/cvsweb/libax25/rsconfig.c.diff?r1=1.4;r2=1.5;f=h
Way Out
Back to the LinuxAX25 Project Homepage