|
|
|
|
|
by luckydude
1937 days ago
|
|
Without providing an example of how to do it better, I'm not sure I see your point. Yeah, I see the problem you point out. Consider char *p = 0; some complicated code that should have set p but didn't... char c = *p; // SEGV So do you have a way to push that error all the way back to wherever you think it should be pushed? |
|
The array access should error out on the line that it happens.
The dereference could print a line of the last assignment, but this isn't what was being talked about.