When encountering a REFERENCENAME record of the VbaProject dir stream where reference_reserved is not 0x003E the code doesn't continue parsing from that point because the implementation used a switch-case, so the new value is overrun in the new iteration of the loop.
|
check = reference_reserved |
Using multiple if statements would solve this, similar to how olevba has done this
When encountering a REFERENCENAME record of the VbaProject dir stream where
reference_reservedis not0x003Ethe code doesn't continue parsing from that point because the implementation used a switch-case, so the new value is overrun in the new iteration of the loop.oleparse/oleparse.go
Line 681 in 34195d4
Using multiple
ifstatements would solve this, similar to how olevba has done this