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