bugPSPP - Bugs: bug #58590, Null pointer dereference in...

 
 

bug #58590: Null pointer dereference in cmd_modify_vars

Submitter:  Andrea Fioraldi <andreafioraldi>
Submitted:  Wed 17 Jun 2020 07:52:55 AM UTC
   
 
Category:  Syntax Parser Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 17 Jun 2020 07:52:55 AM UTC, original submission:  

Another bug, a null ptr deref.

I'm on the last commit, 53d339111a9f51561cfccc65764874cdf54e501a


AddressSanitizer:DEADLYSIGNAL
=================================================================
==114844==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000006761aa bp 0x7fffffffdf50 sp 0x7fffffffdc60 T0)
==114844==The signal is caused by a READ memory access.
==114844==Hint: address points to the zero page.
    #0 0x6761aa in cmd_modify_vars /home/andreaf/real/pspp/src/language/dictionary/modify-variables.c:365:11
    #1 0x4d048b in do_parse_command /home/andreaf/real/pspp/src/language/command.c:233:16
    #2 0x4d048b in cmd_parse_in_state /home/andreaf/real/pspp/src/language/command.c:148:12
    #3 0x4c9df6 in main /home/andreaf/real/pspp/src/ui/terminal/main.c:138:20
    #4 0x7ffff61a5b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
    #5 0x421499 in _start (/home/andreaf/real/pspp/pspp_afl+0x421499)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/andreaf/real/pspp/src/language/dictionary/modify-variables.c:365:11 in cmd_modify_vars
==114844==ABORTING


Andrea Fioraldi <andreafioraldi>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #49284:  null_ptr_1 added by andreafioraldi (3KiB - application/octet-stream - bug repro testcase)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmd (Updated the item)
  • -email is unavailable- added by andreafioraldi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-20 jmd StatusNone Fixed
        Open/ClosedOpen Closed
    2020-06-17 andreafioraldi Attached File- Added null_ptr_1, #49284

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code