Skip to content

Commit

Permalink
Merge pull request #350 from lostsnow/fix/normal-vul-stacks-depth
Browse files Browse the repository at this point in the history
change normal vul report full stacks
  • Loading branch information
lostsnow authored Sep 13, 2022
2 parents 60962d9 + 1b3532b commit 60568b5
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
import io.dongtai.iast.core.utils.Constants;
import io.dongtai.iast.core.utils.StackUtils;
import io.dongtai.iast.core.utils.base64.Base64Encoder;

import java.util.Map;

import org.json.JSONArray;
import org.json.JSONObject;

import java.util.Map;

/**
* @author dongzhiyong@huoxian.cn
*/
Expand Down Expand Up @@ -57,7 +56,7 @@ public void sendReport(StackTraceElement[] stacks, String vulType) {
}

protected StackTraceElement[] getLatestStack() {
return StackUtils.createCallStack(10);
return StackUtils.createCallStack(0);
}

public static String getEncodedHeader(Map<String, String> headers) {
Expand Down

0 comments on commit 60568b5

Please sign in to comment.