Add kong.NoDefaultHelp() option

Review Request #2420 — Created April 4, 2023 and submitted

Information

grim/hgkeeper
default

Reviewers

Otherwise an authenticated user can send "hg -h" as command. Since
kong calls Exit() by default for their help this could lead to a DoS attack.


 
Summary ID Author
Add kong.NoDefaultHelp() option
Otherwise an authenticated user can send "hg -h" as command. Since kong calls Exit() by default for their helpfor their help this could lead to a DoS attack.
b0bd139945ece1375f88e5a34587a6cdeabb8121 Andre Klitzing
aklitzing@gmail.com
grim
  1. Ship It!
  2. Great find! Thanks!!

  3. 
      
grim
Review request changed
Status:
Completed