From 24c009df14baf0794fb4d7788a7b754ce236de80 Mon Sep 17 00:00:00 2001 From: John Starks Date: Mon, 18 Apr 2016 12:51:10 -0700 Subject: [PATCH] Fix multiple calls to img.Open --- wim/wim.go | 1 + 1 file changed, 1 insertion(+) diff --git a/wim/wim.go b/wim/wim.go index 1b7b566..50e82ef 100644 --- a/wim/wim.go +++ b/wim/wim.go @@ -553,6 +553,7 @@ func (r *Reader) readSecurityDescriptors(rsrc io.Reader) (sds [][]byte, n int64, return } + n = secsize return }