mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-10 18:50:58 +01:00
fix non-initialized variables
This commit is contained in:
parent
c636a82b0a
commit
ef594c4e1f
@ -682,6 +682,10 @@ fileout_json_print_parameter() {
|
||||
|
||||
fileout_json_finding() {
|
||||
local target
|
||||
local finding="$3"
|
||||
local cve="$4"
|
||||
local cwe="$5"
|
||||
local hint="$6"
|
||||
|
||||
if "$do_json"; then
|
||||
"$FIRST_FINDING" || echo -n "," >> "$JSONFILE"
|
||||
@ -804,6 +808,7 @@ fileout_insert_warning() {
|
||||
# ID, SEVERITY, FINDING, CVE, CWE, HINT
|
||||
fileout() {
|
||||
local severity="$2"
|
||||
local cve="$4"
|
||||
local cwe="$5"
|
||||
local hint="$6"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user