git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fefb19
)
sharkd: reduce buffer put on stack from 16K to 2K
author
Pascal Quantin
<pascal.quantin@gmail.com>
Thu, 13 Apr 2017 18:02:48 +0000
(20:02 +0200)
committer
Jakub Zawadzki
<darkjames-ws@darkjames.pl>
Thu, 13 Apr 2017 22:38:41 +0000
(22:38 +0000)
Change-Id: Ie86f68ed48b881f4803377a3e1ad94fcfe1947e3
Reviewed-on: https://code.wireshark.org/review/21079
Reviewed-by: Jakub Zawadzki <darkjames-ws@darkjames.pl>
sharkd_session.c
patch
|
blob
|
history
diff --git
a/sharkd_session.c
b/sharkd_session.c
index dea261991a2051bce5a89f1bf50d97c52be9576e..5c3a8a285d4aa14a06920d2f7afe5fd948f32111 100644
(file)
--- 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;