I came across this code bellow today and I am not totally sure what it will do:
pLogFileCriteria->taskToLogFor[0][0] = *"*";
It's setting the value to a pointer to a local string that's on the stack? So when it exits this function, does that memory still exist? Seems fish to me.