Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit cb2f15f

Browse files
author
Max Schaefer
committed
Fix frontend errors in AllocationSizeOverflow test.
1 parent 590f146 commit cb2f15f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ql/test/query-tests/Security/CWE-190/AllocationSizeOverflowGood2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/json"
55
)
66

7-
func encryptValueGood(v interface{}) ([]byte, error) {
7+
func encryptValueGood2(v interface{}) ([]byte, error) {
88
jsonData, err := json.Marshal(v)
99
if err != nil {
1010
return nil, err

0 commit comments

Comments
 (0)