• Tom Cherry's avatar
    Fix insmod module size · cce7e93b
    Tom Cherry authored
    read_file() used to append a new line character to the end of the buffer it
    returns, because parse_config() isn't able to cope with input that's not
    '\n'-terminated. Fix read_file() to be less insane, and push the workarounds
    into the parse_config() callers.
    
    Longer term we should rewrite parse_config().
    
    Bug: http://b/21079470
    Change-Id: Ie9d9a7adcd33b66621726aef20c4b8cc51c08be7
    (cherry picked from commit eaa3b4ec)
    cce7e93b
ueventd_parser.cpp 6.04 KB