From cb2f15f770e449cd019212fd8d3c3b78298b73c6 Mon Sep 17 00:00:00 2001 From: Max Schaefer Date: Tue, 14 Apr 2020 10:20:26 +0100 Subject: [PATCH] Fix frontend errors in `AllocationSizeOverflow` test. --- .../query-tests/Security/CWE-190/AllocationSizeOverflowGood2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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