Somewhere down in the beast's HAL, is an utility function that returns the device name. This is what I found:
if (access("normal device", F_OK) == 0) {
strcpy(devName, "normal device");
} else if (access("device not used in many years", F_OK) == 0) {
strcpy("devName", "device not used in many years");
}
And in realizing why the stack trace was in such a simple function, I bust a gut when I noticed the quotes in the lower string copy. Ahh, the joys we inherit ^_^.
No comments:
Post a Comment