Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109638 - atftp libpcre bugix and ebuild enhancements
Summary: atftp libpcre bugix and ebuild enhancements
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-17 15:07 UTC by Clemens Noss
Modified: 2006-05-26 14:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pcre.patch (pcre.patch,661 bytes, patch)
2005-10-17 15:09 UTC, Clemens Noss
Details | Diff
atftp-0.7-r1.ebuild (atftp-0.7-r1.ebuild,1.06 KB, text/plain)
2005-10-17 15:12 UTC, Clemens Noss
Details
atftp-0.7-r1.ebuild (atftp-0.7-r1.ebuild,1.37 KB, text/plain)
2005-11-03 09:53 UTC, INODE64 Sistemas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Clemens Noss 2005-10-17 15:07:08 UTC
atftpd doesn't handle substitutions with pcre correctly. The last character in
$1 replacement strings is replaced by \0. The patch fixes this.

The patch also adds code to prevent a possible buffer overflow.

Please send upstream and review.

I changed the ebuild to install some doc files, because README.PCRE is mentioned
in a man page.

The dependancy on libpcre is only handled by ./configure, consider adding a USE
flag and a DEPEND
Comment 1 Clemens Noss 2005-10-17 15:09:07 UTC
Created attachment 70882 [details, diff]
pcre.patch
Comment 2 Clemens Noss 2005-10-17 15:12:07 UTC
Created attachment 70883 [details]
atftp-0.7-r1.ebuild
Comment 3 INODE64 Sistemas 2005-11-03 09:50:12 UTC
see for pcre patch
http://bugs.gentoo.org/show_bug.cgi?id=109638
Comment 4 INODE64 Sistemas 2005-11-03 09:53:49 UTC
Created attachment 72038 [details]
atftp-0.7-r1.ebuild

update ebuild whit debian and password patchs
and new USE (readline and pcre)

see for password patch:
http://bugs.gentoo.org/show_bug.cgi?id=104218
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-05-26 14:47:45 UTC
fixed in cvs, thanks.