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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned 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: -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 File(s):

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 click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



No Changes Have Been Made to This Item

Back to the top

Powered by Savane 3.1-cleanup1