summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-07-02 12:18:36 +0200
committerLudovic Courtès <ludo@gnu.org>2014-07-02 12:18:36 +0200
commitd266b79332ff0a4b22967a1db01c805b7c82e092 (patch)
treeefc1f80370a4af3275f6a893339c11d5e3985267 /doc
parent0f28ee348778379bfa81094491b73479f1113f84 (diff)
downloadguix-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 'doc')
0 files changed, 0 insertions, 0 deletions