ring-buffer: Do not attempt to read past "commit"
JIRA: https://issues.redhat.com/browse/RHEL-29064 CVE: CVE-2023-52501
Prevent corruption of the reader by a writer in the ring buffer.
Signed-off-by: Jerome Marchand jmarchan@redhat.com
JIRA: https://issues.redhat.com/browse/RHEL-29064 CVE: CVE-2023-52501
Prevent corruption of the reader by a writer in the ring buffer.
Signed-off-by: Jerome Marchand jmarchan@redhat.com