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
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to