Passing an out of bounds index is the only way to get a NULL buffer but this causes an assertion so is not to be considered for the annotations. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6884>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3695>