[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    AWK: SIGSEGV
From:       Deepak Jangid <deepak.jangid () elitecore ! com>
Date:       2011-08-30 12:11:55
Message-ID: 4E5CD0BB.9040907 () elitecore ! com
[Download RAW message or body]

Hello Guys,

I received SIGSEGV in awk,
looked around a bit
found some issue,
asking for help from AWK OWNER

At,   awk.c:2626
what if next_input_file() returns NULL, then the following code is gonna 
get SIGSEGV for sure.


} else {
	if (!iF)
		iF = next_input_file();	// if returns NULL
	rsm = iF;
}

if (!rsm->F) {				// then SIGSEGV here
	setvar_i(intvar[ERRNO], errno);
	setvar_i(res, -1);
	break;
}

And there are other points to get SIGSEGV if I fix just the above.

I am looking into it.


Be :-),
Deepak Jangid
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic