[wt4hq] Win-Test for HQ package 2010
Mario Lorenz
ml at vdazone.org
Mon Jul 5 14:46:08 CEST 2010
Am 05. Jul 2010, um 13:00:37 schrieb Laurent HAAS - F6FVY:
> Hi Lars
>
> df1lon a écrit :
>
> > The wtTunnelSrv-2.4 is not yet available for Linux. Will you publish a
> > Linux version too? Or do I have to compile it on my own?
Larry,
tests I did over the weekend indicate one more bug in the Server code:
If in tx_proc() for whatever error reason, the last connection is
closed (with closeconn()), closeconn will return NULL.
The break will only break the inner for loop, so the next statement
is tun=tun->pNext, which in this case dereferences a nullpointer
and causes a segfault/coredump.
(I am not really sure that is exactly what happens but
at least I found a corresponding core file suggesting this)
> We don't provide binary. Please compile it on your own. There is a
> command line example in the source :
>
> gcc -o wtTunnelSrv wtTunnelSrv.c
.. and therefore I recommend to always use
gcc -ggdb -o wtTunnelSrv wtTunnelsrv.c
to compile the program,
and something like
#!/bin/sh
ulimit -c unlimited
while true; do
./wtTunnelSrv [....]
[ -e core ] && mv core core.`date +%s`
done
to run it.
Regards,
Mario
--
Mario Lorenz Internet: <ml at vdazone.org>
Ham Radio: DL5MLO at DB0ERF.#THR.DEU.EU
Remember: In god we trust -- all others we polygraph.
-- Jim Christy, Assistant for law enforcement, US Air Force
More information about the Wt4hq
mailing list