The loop in GetNameFromPath in sdcclib.c needs to check the validity of i before using it to access a string.
I believe this bug is reproducible when you give sdcclib and argument without any path qualifier (e.g. "filename.rel"). Specifically, I am on Mac OSX 10.5.6
Patch is attached and is created against r5450.
Log in to post a comment.