Messages in this thread | | | Subject | Re: [RFC][PATCH 5/5] target: check hex2bin result | From | Tetsuo Handa <> | Date | Fri, 16 Sep 2011 23:07:35 +0900 |
| |
Mimi Zohar wrote: > Now that hex2bin does error checking, on error add debugging error msg.
We are waiting for response from Nicholas, aren't we? Quotuing from http://www.spinics.net/linux/fedora/linux-security-module/msg11570.html : | I was assuming that, by adding error check, hex2bin() will leave the buffer | uninitialized in case of bad input because hex2bin() user in Linux 3.0 can | return errors. Now you are a new user of hex2bin() but your code cannot return | errors. Nicholas, how do you want to handle bad input?
| |