commit | cce7e93b287835ffe9cdc3dad3fac52972d84560 | [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 19:42:38 2015 -0700 |
tree | 85f66bc9b1e39bdf7988e1a841bd6716cab20030 | |
parent | 30cc3d72498326c77b75cdf02992211d31396b33 [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(). Bug: http://b/21079470 Change-Id: Ie9d9a7adcd33b66621726aef20c4b8cc51c08be7 (cherry picked from commit eaa3b4ec6f79fe06163b8dd6fe8ba2581d3b9c0b)