Closed pic4xiu closed 1 year ago
Thanks for reporting and fixing this issue @pic4xiu.
The fix seems OK, I'm just missing a test case.
Maybe no one would write like this, I discovered it by accidental testing. But it does cause the program to panic and cause trouble for users.
Maybe no one would write like this, I discovered it by accidental testing. But it does cause the program to panic and cause trouble for users.
I'm still missing a test case that covers the new code. Can you submit it @pic4xiu? Thanks!
Hello, please take a look to see if this added test case meets the standard?
Hello, please take a look to see if this added test case meets the standard?
I does. Merging 😄
Processing illegal base64 content may cause the program to panic, For example, the following gltf file:
When our program calculates the index, the split character is counted by default, and 1 is automatically added, resulting in an out-of-bounds problem in the program.
what happened