Skip to content

Commit d79b264

Browse files
authored
feat: libddwaf v1.20.0 (#111)
1 parent 175c492 commit d79b264

File tree

7 files changed

+4
-1
lines changed

7 files changed

+4
-1
lines changed

decoder.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ func decodeDiagnosticsEntry(obj *bindings.WafObject) (*DiagnosticEntry, error) {
109109
entry.Failed, err = decodeStringArray(objElem)
110110
case "loaded":
111111
entry.Loaded, err = decodeStringArray(objElem)
112+
case "skipped":
113+
entry.Skipped, err = decodeStringArray(objElem)
112114
default:
113115
return nil, errors.ErrUnsupportedValue
114116
}

internal/lib/.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.19.1
1+
1.20.0
19.3 KB
Binary file not shown.
19 KB
Binary file not shown.
14 KB
Binary file not shown.
13.6 KB
Binary file not shown.

waf.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ type DiagnosticEntry struct {
7070
Error string // If the entire entry was in error (e.g: invalid format)
7171
Loaded []string // Successfully loaded entity identifiers (or index:#)
7272
Failed []string // Failed entity identifiers (or index:#)
73+
Skipped []string // Skipped entity identifiers (or index:#)
7374
}
7475

7576
// DiagnosticAddresses stores the information - provided by the WAF - about the known addresses and

0 commit comments

Comments
 (0)