Donate Share

SING

Tracker: Bugs

5 Sing 1.1 dumps core on Solaris 8 - ID: 932514
Last Update: Comment added ( nobody )

# gdb
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public
License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show
warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8".
(gdb) file sing
Reading symbols from sing...done.
(gdb) run norbert
Starting program: /tmp/SING-1.1/sing norbert
SINGing to norbert (10.50.9.105): 16 data bytes

Program received signal SIGSEGV, Segmentation fault.
0x00013db4 in build_ip (s=7, orig=171049576, ttl=255,
tos=0, prot=1, lenpack=16) at sing.c:595
595 ip_p->ip_hl = (TCAB_IP + len_ipopt) >> 2;
(gdb)


Nobody/Anonymous ( nobody ) - 2004-04-09 20:16

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2004-05-14 13:24
Sender: nobody

Logged In: NO

Same place : I get a SIGBUS, same platform.

Try this in sing.c (Worked for me ..)

591 /* struct ip2 *ip_p = (struct ip2 *)
(buf_ip+LIBNET_ETH_H); */
592 struct ip2 *ip_p = (struct ip2 *) malloc
(buf_ip+LIBNET_ETH_H); /* SAM FIX */


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.