forked from osmocom/wireshark
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:
parent
3fefb19168
commit
eff51c6076
|
@ -3223,7 +3223,7 @@ sharkd_session_process(char *buf, const jsmntok_t *tokens, int count)
|
||||||
int
|
int
|
||||||
sharkd_session_main(void)
|
sharkd_session_main(void)
|
||||||
{
|
{
|
||||||
char buf[16 * 1024];
|
char buf[2 * 1024];
|
||||||
jsmntok_t *tokens = NULL;
|
jsmntok_t *tokens = NULL;
|
||||||
int tokens_max = -1;
|
int tokens_max = -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue