Pascal Quantin
changed
bug 8942
What |
Removed |
Added |
Status |
RESOLVED
|
INCOMPLETE
|
CC |
|
[email protected]
|
Resolution |
FIXED
|
---
|
Comment # 8
on bug 8942
from Pascal Quantin
(In reply to comment #6)
> Created attachment 11220 [details]
> The version should be compatable with all platforms
>
With this patch I get a segmentation fault when launching Wireshark on my
Debian Lenny box.
The following cast
GString *firstl = (GString *)pf;
give me a structure where pf->str is invalid, leading to a crash when doing:
if (strncmp(firstl->str, " Configuration file for ", 24) == 0) {
If I understood properly, the purpose here is to read the first line of the
file. Why not use fgets? Did I miss something?
Build info:
Compiled (32-bit) with GTK+ 2.12.12, with Cairo 1.6.4, with Pango 1.20.5, with
GLib 2.16.6, with libpcap, with libz 1.2.3.3, without POSIX capabilities,
without libnl, without SMI, without c-ares, without ADNS, without Lua, without
Python, with GnuTLS 2.4.2, with Gcrypt 1.4.1, with MIT Kerberos, without GeoIP,
without PortAudio, with AirPcap.
You are receiving this mail because:
- You are watching all bug changes.