[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #61281] segv in pspp at src/language/lexer/segment.c:1350

From: Irfan Ariq
Subject: PSPP-BUG: [bug #61281] segv in pspp at src/language/lexer/segment.c:1350
Date: Mon, 4 Oct 2021 11:33:36 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36


                 Summary: segv in pspp at src/language/lexer/segment.c:1350
                 Project: PSPP
            Submitted by: irfanariq
            Submitted on: Mon 04 Oct 2021 03:33:35 PM UTC
                Category: None
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
                 Release: None
         Discussion Lock: Any
                  Effort: 0.00




We are currently working on fuzz testing feature, and we found a **SEGV** on

The stack traces are as follow:
==29998==ERROR: AddressSanitizer: SEGV on unknown address 0x617000010000 (pc
0x7febab786480 bp 0x7fffe47487e0 sp 0x7fffe4747f58 T0)
==29998==The signal is caused by a READ memory access.
    #0 0x7febab78647f  (/lib/x86_64-linux-gnu/libc.so.6+0x18a47f)
    #1 0x7febacc285a1  (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x415a1)
    #2 0x7febac823c9c in segmenter_parse_full_line__
    #3 0x7febac82447f in segmenter_parse_begin_data_3__
    #4 0x7febac825071 in segmenter_push src/language/lexer/segment.c:1677
    #5 0x7febac816f98 in lex_source_get__ src/language/lexer/lexer.c:1376
    #6 0x7febac81246c in lex_get src/language/lexer/lexer.c:229
    #7 0x7febac9124eb in read_inline_record
    #8 0x7febac913bab in read_record src/language/data-io/data-reader.c:538
    #9 0x7febac913c5c in dfm_eof src/language/data-io/data-reader.c:557
    #10 0x7febac91064d in parse_delimited_no_span
The full stack trace is attached.

**Step to reproduce**

We configured `pspp` using `CFLAGS="-g -O0 -fsanitize=address" CXXFLAGS="-g
-O0 -fsanitize=address" ./configure --prefix=$(pwd)/ --without-cairo
--without-perl-module` and build it using `make -j10`, and run it with:

./pspp -o -O <attached file>
The input file is attached.

- OS: Ubuntu 18.04.5 LTS
- GCC version: gcc 7.5.0
- pspp version: [pspp

Thank you.


File Attachments:

Date: Mon 04 Oct 2021 03:33:35 PM UTC  Name: full_stacktrace_poc_8.zip  Size:
1KiB   By: irfanariq

Date: Mon 04 Oct 2021 03:33:35 PM UTC  Name: input_pspp_poc_8.zip  Size: 320B 
 By: irfanariq



Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]