aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-07-18 09:12:59 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-07-18 09:12:59 +0000
commitfdc867a4fc1f2ae08d27e91894b672d4ee7bd61f (patch)
tree6304efbb0167bc1c0bced9336a3026fbb7424f53
parente6993618c1464ae96f8c41e5f997bcf9e0d59e01 (diff)
downloadwireshark-fdc867a4fc1f2ae08d27e91894b672d4ee7bd61f.tar.gz
wireshark-fdc867a4fc1f2ae08d27e91894b672d4ee7bd61f.tar.bz2
wireshark-fdc867a4fc1f2ae08d27e91894b672d4ee7bd61f.zip
Temporarily disable offending code triggering a segmentation fault on Linux (see bug 8942)
svn path=/trunk/; revision=50725
-rw-r--r--epan/prefs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/prefs.c b/epan/prefs.c
index 82fec9789a..22e2546949 100644
--- a/epan/prefs.c
+++ b/epan/prefs.c
@@ -3066,6 +3066,7 @@ read_prefs_file(const char *pf_path, FILE *pf,
cur_val = g_string_new("");
cur_var = g_string_new("");
+#if 0
/* Try to read in the profile name in the first line of the preferences file. */
got_c = getc(pf);
if(got_c) {
@@ -3082,6 +3083,7 @@ read_prefs_file(const char *pf_path, FILE *pf,
}
}
rewind(pf);
+#endif
while ((got_c = getc(pf)) != EOF) {
if (got_c == '\n') {