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 <darkjames-ws@darkjames.pl>
This commit is contained in:
Pascal Quantin 2017-04-13 20:02:48 +02:00 committed by Jakub Zawadzki
parent 3fefb19168
commit eff51c6076
1 changed files with 1 additions and 1 deletions

View File

@ -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;