git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7cf771
)
s3:utils:log2pcaphex: fix O3 error uninitialized variable
author
Michael Adam
<obnox@samba.org>
Tue, 5 Apr 2016 17:57:42 +0000
(19:57 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 12 May 2016 22:16:16 +0000
(
00:16
+0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Christian Ambach <ambi@samba.org>
source3/utils/log2pcaphex.c
patch
|
blob
|
history
diff --git
a/source3/utils/log2pcaphex.c
b/source3/utils/log2pcaphex.c
index 2d68db6fac95e399591005d6efbcf033301faa1f..f31efa10df8771688302d0ad1374a1bb3ef0515c 100644
(file)
--- a/
source3/utils/log2pcaphex.c
+++ b/
source3/utils/log2pcaphex.c
@@
-302,7
+302,8
@@
int main(int argc, const char **argv)
int opt;
poptContext pc;
char buffer[4096];
- long data_offset, data_length;
+ long data_offset = 0;
+ long data_length;
long data_bytes_read = 0;
int in_packet = 0;
struct poptOption long_options[] = {