add sanity check in tor_memmem

it's believed most libc already have those, but just in case, it can't hurt

fix #40854 (closed)

Merge request reports

Loading