Bug 88729 - [patch] textproc/urlview segfaults on amd64
Summary: [patch] textproc/urlview segfaults on amd64
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: David E. O'Brien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-09 14:00 UTC by Vasil Dimov
Modified: 2005-11-30 12:01 UTC (History)
1 user (show)

See Also:


Attachments
urlview_quote.diff (1.05 KB, patch)
2005-11-09 14:00 UTC, Vasil Dimov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vasil Dimov 2005-11-09 14:00:26 UTC
textproc/urlview uses its internal function char *quote() without it being
declared so its return type defaults to int, which results in a segmentation
fault on machines where sizeof(int) != sizeof(char *)

How-To-Repeat: 
$ uname -m
amd64
$ cd /usr/ports/textproc/urlview
$ make install clean
$ echo 'http://www.a.b' |urlview
<enter>
<enter>
Segmentation fault: 11 (core dumped)
$
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-11-09 14:03:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->obrien

Over to maintainer
Comment 2 Florent Thoumie freebsd_committer freebsd_triage 2005-11-30 12:01:07 UTC
State Changed
From-To: open->closed

Committed. Thanks!