bug-bash
[Top][All Lists]
Advanced

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

protection against accidental massive pastes into the command line


From: jidanni
Subject: protection against accidental massive pastes into the command line
Date: Fri, 27 Apr 2012 04:17:26 +0800

Maybe there should be a limit, MAX_INTERACTIVE_COMMAND_LENGTH on how
much can be fed into one bash command line, any more and bash should
beep and reject the whole command.

Otherwise an innocent middle click, or SHIFT INSERT slip of the fingers
could paste an entire book out of the clipboard, into the command line,
which would then cause bash to try to execute every line.



reply via email to

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