Closed le4ker closed 12 years ago
I didn't know that when you do a pull request an issue is automatically opened. Sorry!
It's fine that it's an open issue, I haven't merged it yet ^.^
I've confirmed the problem and the patches you sent don't appear to fix it. At least, not how I am trying it. Could you send me the steps you're using to reproduce it?
Hehe I just noticed what you were talking about. Okay, I'll update that one instead.
In case of file name larger than you MAX_FILE_LEN you will have a crash because the pointer will point to the error number. You have to use the IS_ERR macro in the exe_from_mm in order to catch this case from d_path call. Then just return a NULL in order to use it for error handling when calling the exe_from_mm function.
Cheers! Panos