Bug 74522 - net/gnomeicu2 crashes on incorrect history file.
Summary: net/gnomeicu2 crashes on incorrect history file.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-29 18:20 UTC by Konstantin Yu. Pasichnichenko
Modified: 2004-12-18 22:35 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (375 bytes, patch)
2004-11-29 18:20 UTC, Konstantin Yu. Pasichnichenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Yu. Pasichnichenko 2004-11-29 18:20:33 UTC

When you try to open incorrectly formatted history file (left from much-much older version of gnomeicu, for example) the result was a core dump in src/history.c:history_parse_chunk():sscanf().

Fix: Apply the following patch, recompile and run:

=======================================
How-To-Repeat: 

Run gnomeicu ver. 0.99.5 and try open history with an incorrectly formatted user history file.
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2004-11-30 13:58:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-gnome

Over to GNOME-team
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2004-12-18 22:34:54 UTC
State Changed
From-To: open->closed

Committed, thanks!