vagetablechicken opened a new issue #4578: URL: https://github.com/apache/incubator-doris/issues/4578
**Describe the bug** Got a coredump in ``` doris::JsonFunctions::get_parsed_paths (path_exprs=std::vector of length 0, capacity 0, parsed_paths=parsed_paths@entry=0x89dfd360) ``` https://github.com/apache/incubator-doris/blob/81784d64715213390c1d09951917d2a7ea06af21/be/src/exprs/json_functions.cpp#L371-L379 We passed an empty vector `path_exprs`, but use `path_exprs[0]`. **Expected behavior** We should check `path_exprs` size before use the first value. I'll fix it soon. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
