lkml.org 
[lkml]   [2011]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC][PATCH 5/5] target: check hex2bin result
    From
    Date
    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?


    \
     
     \ /
      Last update: 2011-09-16 16:11    [W:0.022 / U:60.116 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site