Skip to content
Snippets Groups Projects
Unverified Commit 3a5479aa authored by trop[bot]'s avatar trop[bot] Committed by GitHub
Browse files

fix: -Wunsafe-buffer-usage warnings in IsUrlArg() (#43541)


* fix: -Wunsafe-buffer-usage warnings in IsUrlArg()

Co-authored-by: default avatarCharles Kerr <charles@charleskerr.com>

* chore: improve code comments for CheckCommandLineArguments()

Co-authored-by: default avatarCharles Kerr <charles@charleskerr.com>

* chore: reduce diffs from main

Co-authored-by: default avatarCharles Kerr <charles@charleskerr.com>

* refactor: CheckCommandLineArguments takes a StringVector arg

Fixes another buffer warning!

Co-authored-by: default avatarCharles Kerr <charles@charleskerr.com>

* chore: use base::CommandLine::StringPieceType

base:CommandLine::StringViewType has not been invented yet

---------

Co-authored-by: default avatartrop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: default avatarCharles Kerr <charles@charleskerr.com>
parent 7b3143cc
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment