From eff51c6076ad6ffb72aedcac8dc0d3b3723fd556 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Thu, 13 Apr 2017 20:02:48 +0200 Subject: sharkd: reduce buffer put on stack from 16K to 2K Change-Id: Ie86f68ed48b881f4803377a3e1ad94fcfe1947e3 Reviewed-on: https://code.wireshark.org/review/21079 Reviewed-by: Jakub Zawadzki --- sharkd_session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sharkd_session.c') diff --git a/sharkd_session.c b/sharkd_session.c index dea261991a..5c3a8a285d 100644 --- a/sharkd_session.c +++ b/sharkd_session.c @@ -3223,7 +3223,7 @@ sharkd_session_process(char *buf, const jsmntok_t *tokens, int count) int sharkd_session_main(void) { - char buf[16 * 1024]; + char buf[2 * 1024]; jsmntok_t *tokens = NULL; int tokens_max = -1; -- cgit v1.2.1