diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-05-10 10:47:24 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-05-15 14:37:35 +0800 |
commit | 7c8683fa009115f8a3b08b7a7666b64ebcbbc1bc (patch) | |
tree | ff25b865d09ebfb27d1430599ded3e3a5096769f /discover/resource.h | |
parent | 3fb8fb6fb6259e7b0894cb3756ea02dbe2d361f3 (diff) | |
download | talos-petitboot-7c8683fa009115f8a3b08b7a7666b64ebcbbc1bc.tar.gz talos-petitboot-7c8683fa009115f8a3b08b7a7666b64ebcbbc1bc.zip |
discover: Always add a NUL byte to config data
conf_get_pair will read one-byte past the end of the conf buffer, so
always NUL-terminate.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/resource.h')
0 files changed, 0 insertions, 0 deletions