fix segfault
OBS-URL: https://build.opensuse.org/package/show/network:utilities/netsniff-ng?expand=0&rev=4
This commit is contained in:
parent
a8a70c05cb
commit
471192c9cb
@ -5,7 +5,7 @@
|
||||
}
|
||||
|
||||
- memset(bpf, 0, sizeof(**bpf));
|
||||
+ memset(*bpf, 0, sizeof(**bpf));
|
||||
+ memset(bpf, 0, sizeof(*bpf));
|
||||
|
||||
(*rb) = (ring_buff_t *) malloc(sizeof(**rb));
|
||||
if ((*rb) == NULL) {
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 1 22:35:02 UTC 2010 - pascal.bleser@opensuse.org
|
||||
|
||||
- fix segfault in buffer overflow patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 31 10:09:24 UTC 2009 - pascal.bleser@opensuse.org
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user