A file in the govdocs corpus triggers a traversal bug that blows the stack. Reported by @euanc
runtime: goroutine stack exceeds 1000000000-byte limit
fatal error: stack overflow
runtime stack:
runtime.throw(0x84c044, 0xe)
/home/travis/.gimme/versions/go1.12.9.linux.amd64/src/runtime/panic.go:617 +0x72
runtime.newstack()
/home/travis/.gimme/versions/go1.12.9.linux.amd64/src/runtime/stack.go:1041 +0x6f0
runtime.morestack()
/home/travis/.gimme/versions/go1.12.9.linux.amd64/src/runtime/asm_amd64.s:429 +0x8f
goroutine 10 [running]:
github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb.(*Reader).traverse.func1(0x0, 0xbdbcf8, 0x0, 0x0)
/home/travis/gopath/src/github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb/file.go:150 +0x3fb fp=0xc024000390 sp=0xc024000388 pc=0x6dcfdb
github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb.(*Reader).traverse.func1(0x0, 0xbdbcf8, 0x0, 0x0)
/home/travis/gopath/src/github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb/file.go:157 +0x3d5 fp=0xc024000430 sp=0xc024000390 pc=0x6dcfb5
github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb.(*Reader).traverse.func1(0x0, 0xbdbcf8, 0x0, 0x0)
/home/travis/gopath/src/github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb/file.go:157 +0x3d5 fp=0xc0240004d0 sp=0xc024000430 pc=0x6dcfb5
github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb.(*Reader).traverse.func1(0x0, 0xbdbcf8, 0x0, 0x0)
/home/travis/gopath/src/github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb/file.go:157 +0x3d5 fp=0xc024000570 sp=0xc0240004d0 pc=0x6dcfb5
github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb.(*Reader).traverse.func1(0x0, 0xbdbcf8, 0x0, 0x0)
/home/travis/gopath/src/github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb/file.go:157 +0x3d5 fp=0xc024000610 sp=0xc024000570 pc=0x6dcfb5
github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb.(*Reader).traverse.func1(0x0, 0xbdbcf8, 0x0, 0x0)
/home/travis/gopath/src/github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb/file.go:157 +0x3d5 fp=0xc0240006b0 sp=0xc024000610 pc=0x6dcfb5
github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb.(*Reader).traverse.func1(0x0, 0xbdbcf8, 0x0, 0x0)
/home/travis/gopath/src/github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb/file.go:157 +0x3d5 fp=0xc024000750 sp=0xc0240006b0 pc=0x6dcfb5
github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb.(*Reader).traverse.func1(0x0, 0xbdbcf8, 0x0, 0x0)
/home/travis/gopath/src/github.com/richardlehane/siegfried/vendor/github.com/richardlehane/mscfb/file.go:157 +0x3d5 fp=0xc0240007f0 sp=0xc024000750 pc=0x6dcfb5