[riot-commits] [RIOT-OS/RIOT] 333572: uri_parser: check if uri is long enough to even co...

Cenk Gündoğan noreply at github.com
Fri Feb 5 13:24:02 CET 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 333572e09148dc7dea674e1d47c3a4b5fa5e7047
      https://github.com/RIOT-OS/RIOT/commit/333572e09148dc7dea674e1d47c3a4b5fa5e7047
  Author: Sören Tempel <tempel at uni-bremen.de>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M sys/uri_parser/uri_parser.c
    M tests/unittests/tests-uri_parser/tests-uri_parser.c

  Log Message:
  -----------
  uri_parser: check if uri is long enough to even contain a ://

Before attempting to access these characters. This fixes an
out-of-bounds read on the provided URI buffer.


  Commit: 07f1254d8537497552e7dce80364aaead9266bbe
      https://github.com/RIOT-OS/RIOT/commit/07f1254d8537497552e7dce80364aaead9266bbe
  Author: Cenk Gündoğan <mail+dev at gundogan.net>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M sys/uri_parser/uri_parser.c
    M tests/unittests/tests-uri_parser/tests-uri_parser.c

  Log Message:
  -----------
  Merge pull request #15930 from nmeum/pr/uri_parser_scheme

uri_parser: check if uri is long enough to even contain a ://


Compare: https://github.com/RIOT-OS/RIOT/compare/89922e8d546f...07f1254d8537


More information about the commits mailing list