close off newline injection attacks against compute special remote protocol
This commit is contained in:
parent
73a8ba5307
commit
0ee644b417
2 changed files with 18 additions and 5 deletions
|
@ -1,10 +1,6 @@
|
|||
This is the remainder of my todo list while I was building the
|
||||
compute special remote. --[[Joey]]
|
||||
|
||||
* prohibit using compute states where an input or output filename contains
|
||||
a newline. The protocol doesn't allow this to happen usually, but an
|
||||
attacker might try it in order to scramble the protocol.
|
||||
|
||||
* git-annex responds to each INPUT immediately, and flushes stdout.
|
||||
This could cause problems if the program is sending several INPUT
|
||||
first, before reading responses, as is documented it should do to allow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue