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


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

Submitted by:  None
Submitted on:  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

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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



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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




No changes have been made to this item

Back to the top

Powered by Savane 3.3