schlangenprogrammiernacht / gameserver

The part of SPN doing all the work
GNU Affero General Public License v3.0
9 stars 10 forks source link

Add paranthesis around the /spnshm mount argument to docker #5

Closed M4GNV5 closed 2 years ago

M4GNV5 commented 2 years ago

Mainly this prevents command injection using BOT_NAME. This shouldnt be a real problem though, as the BOT_NAME is already sanitized in DockerBot.cpp. Just to make sure.

cfr34k commented 2 years ago

Yes, better safe than sorry. Thanks!