Hi,
The following obj file causes the parse_face function to get stuck in an infinite loop:
f f
(3 letters only)
In the parse_face function, the pointer never gets advanced, because no valid integers could be read. Also, it will keep pushing new items into the array every iteration, so it will just run for a while, then it'll crash.
Hi, The following obj file causes the parse_face function to get stuck in an infinite loop:
f f
(3 letters only)In the parse_face function, the pointer never gets advanced, because no valid integers could be read. Also, it will keep pushing new items into the array every iteration, so it will just run for a while, then it'll crash.