Bug 55700 - [Fix] Port: mail/autoresponder (strncpy bug)
Summary: [Fix] Port: mail/autoresponder (strncpy bug)
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: Peter Pentchev
Depends on:
Reported: 2003-08-18 17:10 UTC by Alex Dupre
Modified: 2003-08-29 17:05 UTC (History)
1 user (show)

See Also:

autorespond.diff (1.17 KB, patch)
2003-08-18 17:10 UTC, Alex Dupre
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Dupre 2003-08-18 17:10:23 UTC
strncpy() doesn't append a null character at the end of the string,
so the next strncat() call crashes (core dump).

Noted only with -current and gcc3, but it's a sw bug anyway.
Comment 1 Sergey A. Osokin freebsd_committer 2003-08-18 20:30:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->roam

Over to maintainer.
Comment 2 Peter Pentchev freebsd_committer 2003-08-29 17:04:59 UTC
State Changed
From-To: open->closed

Fix committed, thanks! 
Sorry for the delay: I was on a summer vacation...