Bug 59546 - [PATCH] ftp/vsftpd: printf format string bug fix
Summary: [PATCH] ftp/vsftpd: printf format string bug fix
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: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-21 13:20 UTC by Matthias Andree
Modified: 2003-11-21 15:11 UTC (History)
1 user (show)

See Also:


Attachments
vsftpd-1.2.1.patch (730 bytes, patch)
2003-11-21 13:20 UTC, Matthias Andree
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree 2003-11-21 13:20:13 UTC
vsftpd 1.2.1 uses %030ld to print a time_t argument. This fails on machines that don't use long for time_t,
some might use long long. The patch below explicitly casts the argument to the proper type.

NOTE: THIS SHOULD BECOME PART OF FREEBSD 5.2, SO PLEASE DO COMMIT IN SPITE OF THE PORTS FREEZE!

Chris, you'll need to patch once to get the real patch, then run patch with the newly created file to patch
your source.

Port and upstream maintainer (dinoex@FreeBSD.org, chris@scary.beasts.org) are cc'd.

Generated with FreeBSD Port Tools 0.50
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2003-11-21 13:52:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

Over to maintainer
Comment 2 Dirk Meyer freebsd_committer freebsd_triage 2003-11-21 15:11:08 UTC
State Changed
From-To: open->closed

committed, thanks.