ProjectMutilation opened a new pull request, #2313:
URL: https://github.com/apache/age/pull/2313
Previously, when iterating through an agtype container, the code would
access `elem->val` even when `elem` was null.
This adds a null check to set the result type to AGTV_NULL when the element
is null, preventing a potential segmentation fault.
Fixes: 4274f10 ("Added the toStringList() function (#1084)")
Found by PostgresPro.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]