Explorar el Código

Fix for Sed Injection Vulnerability

Thanks to @hestiacp and @jaapmarcus for fix.
Anton Reutov hace 3 años
padre
commit
d386c3598c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      bin/v-change-sys-config-value

+ 1 - 0
bin/v-change-sys-config-value

@@ -28,6 +28,7 @@ PATH="$PATH:/usr/local/sbin:/sbin:/usr/sbin:/root/bin"
 check_args '2' "$#" 'KEY VALUE'
 is_format_valid 'key'
 
+format_no_quotes "$value" 'value'
 
 #----------------------------------------------------------#
 #                       Action                             #