Open emackey opened 7 months ago
https://github.com/AnalyticalGraphicsInc/gltf-vscode/blob/7e07889d105fa8850170ac3c09126e8f43cb5ec9/server/src/server.ts#L188-L203
The value of parseResult.jsonMap.data is used without checking if it's valid.
This appears to be triggered by some JSON that had the start of an array with an object inside, and the object ended in a close brace but the array was never closed.
https://github.com/AnalyticalGraphicsInc/gltf-vscode/blob/7e07889d105fa8850170ac3c09126e8f43cb5ec9/server/src/server.ts#L188-L203
The value of parseResult.jsonMap.data is used without checking if it's valid.
This appears to be triggered by some JSON that had the start of an array with an object inside, and the object ended in a close brace but the array was never closed.