make/test_memrchr.c@3ee5a5c7823a
make/test_memrchr.c
Sun, 30 Nov 2025 15:06:02 +0100
- author
- Mike Becker <universe@uap-core.de>
- date
- Sun, 30 Nov 2025 15:06:02 +0100
- changeset 1531
- 3ee5a5c7823a
- parent 1413
-
c5a225d7228c
- permissions
- -rw-r--r--
fix out-of-bounds read in cx_array_insert_sorted_impl()
#include <string.h>
int main() {
const char *r = memrchr("tester", 'e', 6);
return !(r != NULL);
}