Skip to content

Commit d771a47

Browse files
committed
fixes request body fetch
1 parent 1943334 commit d771a47

File tree

1 file changed

+1
-1
lines changed
  • dongtai-core/src/main/java/io/dongtai/iast/core/handler/hookpoint/controller/impl

1 file changed

+1
-1
lines changed

dongtai-core/src/main/java/io/dongtai/iast/core/handler/hookpoint/controller/impl/HttpImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public static void onServletInputStreamRead(int ret, String desc, Object stream,
133133
}
134134
onServletInputStreamRead(ret, "([BII)I", stream, bs, 0, bs.length);
135135
} else if ("([BII)I".equals(desc)) {
136-
if (bs == null || offset < 0 || (len < 0 && ret == -1)) {
136+
if (bs == null || offset < 0 || len < 0 || ret == -1) {
137137
return;
138138
}
139139

0 commit comments

Comments
 (0)