diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-05-30 20:21:54 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-05-30 20:21:54 +0200 |
commit | 2e94e61f1c6263adfcbca641b74f9a07ea8298a0 (patch) | |
tree | 818ba89762e09d3653010458e4b542259c46875a /libfshelp/fetch-root.c | |
parent | ac38884dc9ad32a11d09f55ba9fe399cd0a48e2f (diff) | |
download | hurd-2e94e61f1c6263adfcbca641b74f9a07ea8298a0.tar.gz hurd-2e94e61f1c6263adfcbca641b74f9a07ea8298a0.tar.bz2 hurd-2e94e61f1c6263adfcbca641b74f9a07ea8298a0.zip |
Fix buffer allocation on io_read
* random.c (trivfs_S_io_read): Catch buffer allocation error, and
truncate allocation when we return less data than requested.
Diffstat (limited to 'libfshelp/fetch-root.c')
0 files changed, 0 insertions, 0 deletions