PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] valgrind
Date: Saturday, 26 Sep 2020, 17:17:28


    >
    > Message Posted By: Unknown
    >
    > ==915829== Conditional jump or move depends on uninitialised value(s)
    > ==915829==    at 0x4025F4: dumpArgs (mainParsley.c:106)
    > ==915829==    by 0x402BE8: dumpTree (mainParsley.c:198)
    > ==915829==    by 0x402298: main (mainParsley.c:25)
    >
    > Hi, all my valgrind errors are in mainParsley.c file, is there a way for
    > valgrind to highlight where the error is in parsley.c fileM-oM-argv;  *q;  q++)

However, looking at this line, the most likely explanation
is that you did not store NULL in c->argv[c->argc].

--Stan-
PREV INDEX NEXT