diff --git a/ql/test/query-tests/Security/CWE-190/AllocationSizeOverflowGood2.go b/ql/test/query-tests/Security/CWE-190/AllocationSizeOverflowGood2.go index 2d91d679d5f..57aa36fafe8 100644 --- a/ql/test/query-tests/Security/CWE-190/AllocationSizeOverflowGood2.go +++ b/ql/test/query-tests/Security/CWE-190/AllocationSizeOverflowGood2.go @@ -4,7 +4,7 @@ import ( "encoding/json" ) -func encryptValueGood(v interface{}) ([]byte, error) { +func encryptValueGood2(v interface{}) ([]byte, error) { jsonData, err := json.Marshal(v) if err != nil { return nil, err