bugGNU Accounting Utilities - Bugs: bug #49930, should not segfault on gzip files...

 
 

bug #49930: should not segfault on gzip files - FORWARDED FROM DEBIAN

Submitter:  None
Submitted:  Sun 25 Dec 2016 11:22:42 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 25 Dec 2016 11:22:42 PM UTC, original submission:  

From: Justin T Pryzby <justinpryzby@users.sourceforge.net>
To: -email is unavailable-
Subject: acct: should not segfault on gzip files
Date: Sun, 23 Nov 2008 13:50:00 -0700
Package: acct
Version: 6.4~pre1-3
Tags: upstream

Ideally gzip files would be transparently handled, but at least it
should not crash.

gdb --args ./lastcomm -f /var/log/account/pacct.1.gz

Program received signal SIGSEGV, Segmentation fault.
pacct_get_entry () at pacct_rd.c:375
375       if (rec_in->ac_version != 0
(gdb) bt
#0  pacct_get_entry () at pacct_rd.c:375
#1  0x00000000004014b9 in parse_entries () at lastcomm.c:320
#2  0x00000000004019da in main (argc=3, argv=0x7fff2ceda708) at lastcomm.c:283

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-3230.
Corresponding source code