diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-01-31 21:52:46 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-01-31 23:21:59 +0100 |
commit | 2fe4ceee18f8687de8520d28dbfefc7bc3a7e084 (patch) | |
tree | 7c5e4ebcbc688ccf2ec00cf6a937db32f698a376 /build-aux/run-system-tests.scm | |
parent | 69f2b3bdf9ca333a09995d5006d78f83bb417968 (diff) | |
download | guix-2fe4ceee18f8687de8520d28dbfefc7bc3a7e084.tar guix-2fe4ceee18f8687de8520d28dbfefc7bc3a7e084.tar.gz |
file-systems: Do not read superblocks past the end of a device.
Fixes <http://bugs.gnu.org/25573>.
Reported by Alex Kost <alezost@gmail.com>.
* gnu/build/file-systems.scm (seek*): New procedure.
(read-superblock): Use it instead of 'seek' and ensure it returns
OFFSET.
Diffstat (limited to 'build-aux/run-system-tests.scm')
0 files changed, 0 insertions, 0 deletions