commit | c6cfd943e43fa48903f6b23e1d42d2cf3e3d0cbf | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Tue May 12 13:54:41 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue May 12 14:18:49 2015 -0700 |
tree | 23bfd9a467fa4be2d5eddf7bf706ca72edb84f54 | |
parent | 3f7bf52cb0b4c5ba8fc0c5d2a3ae8aee924cb3f3 [diff] |
Fix insmod module size 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(). Change-Id: Ie9d9a7adcd33b66621726aef20c4b8cc51c08be7