diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-07-30 22:39:29 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-07-30 22:39:29 +0900 |
| commit | ddd90b780bf05fe4e98f7ca5d1ed321089ef0755 (patch) | |
| tree | a432a028251e44e79b763962eeacef52ebf65717 /internal/rosa | |
| parent | 89c32f5614a9da4d52325c3d53f6aa2b484041e2 (diff) | |
internal/rosa: drain optional unstructured input
This was missed, causing non-minimal kindEtc IR to be rejected.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa')
| -rw-r--r-- | internal/rosa/etc.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/rosa/etc.go b/internal/rosa/etc.go index a69b3fa9..18c9750b 100644 --- a/internal/rosa/etc.go +++ b/internal/rosa/etc.go @@ -107,6 +107,8 @@ func init() { a := cureEtc{} if r.ReadUint32() == 0 { a.minimal = true + } else { + r.Next() } if _, ok := r.Finalise(); ok { panic(pkg.ErrUnexpectedChecksum) |
