diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-07-02 12:18:36 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-07-02 12:18:36 +0200 |
commit | d266b79332ff0a4b22967a1db01c805b7c82e092 (patch) | |
tree | efc1f80370a4af3275f6a893339c11d5e3985267 /gnu-system.am | |
parent | 0f28ee348778379bfa81094491b73479f1113f84 (diff) | |
download | gnu-guix-d266b79332ff0a4b22967a1db01c805b7c82e092.tar gnu-guix-d266b79332ff0a4b22967a1db01c805b7c82e092.tar.gz |
linux-initrd: Gracefully handle lack of or invalid ext2 superblocks.
Reported by David Thompson <dthompson2@worcester.edu>.
* guix/build/linux-initrd.scm (read-ext2-superblock): Add
'superblock-size' variable. Read with 'get-bytevector-n!' instead of
'getbytevector-n', and make sure we read exactly SUPERBLOCK-SIZE
bytes.
Diffstat (limited to 'gnu-system.am')
0 files changed, 0 insertions, 0 deletions