Skip to content

src: avoid OOB read in URL parser

Rodrigo Muino Tomonari requested to merge github/fork/addaleax/url-oob-fix into master

This is not a big concern, because right now, all (non-test) inputs to the parser are '\0'-terminated, but we should be future-proof here and not perform these OOB reads.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading