bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Potential Bash Script Vulnerability


From: Greg Wooledge
Subject: Re: Potential Bash Script Vulnerability
Date: Mon, 8 Apr 2024 07:02:30 -0400

On Mon, Apr 08, 2024 at 12:40:55PM +0700, Robert Elz wrote:
> or perhaps better just:
> 
>   main() { ... } ; main "$@"

You'd want to add an "exit" as well, to protect against new lines of
code being appended to the script.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]