Summary: | net-ftp/gproftpd fails to compile with format-security | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | treecleaner |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 713576, 259417 | ||
Attachments: | gproftpd-8.3.2-r1:20150527-081418.log |
Description
Agostino Sarubbo
2015-05-27 08:22:21 UTC
Created attachment 404064 [details]
gproftpd-8.3.2-r1:20150527-081418.log
build log
This was fixed upstream in November 2014, with the release of gadmin-proftpd-0.4.7. >wget http://dalalven.dtdns.net/linux/gadmin-proftpd/gadmin-proftpd-0.4.6.tar.gz >tar -xzvf gadmin-proftpd-0.4.6.tar.gz >grep 'snprintf' gadmin-proftpd-0.4.6/src/populate_server_settings.c [snip] >snprintf(new_buffer, old_buffer[x] + x, old_buffer + x); >wget http://dalalven.dtdns.net/linux/gadmin-proftpd/gadmin-proftpd-0.4.7.tar.gz >tar -xzvf gadmin-proftpd-0.4.7.tar.gz >grep 'snprintf' gadmin-proftpd-0.4.7/src/populate_server_settings.c [snip] >snprintf(new_buffer, old_buffer[x] + x, "%s", old_buffer + x); The version in portage is from 2007, before the package was renamed gproftpd -> gadmin-proftpd. We've missed dozens of bug fixes. I should note, that looks like it would fix the format-security errors, but I haven't tested it. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e127c6f10d177b16ef4a005e5d0fa4d61883de5d commit e127c6f10d177b16ef4a005e5d0fa4d61883de5d Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-12-20 16:20:01 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-12-20 16:30:21 +0000 net-ftp/gproftpd: treeclean Closes: https://bugs.gentoo.org/796647 Closes: https://bugs.gentoo.org/550524 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> net-ftp/gproftpd/Manifest | 1 - .../gproftpd/files/gproftpd-8.3.2-desktop.patch | 12 ----- .../gproftpd/files/gproftpd-8.3.2-fno-common.patch | 25 ---------- .../gproftpd/files/gproftpd-8.3.2-install.patch | 39 --------------- net-ftp/gproftpd/gproftpd-8.3.2-r3.ebuild | 56 ---------------------- net-ftp/gproftpd/metadata.xml | 5 -- profiles/package.mask | 1 - 7 files changed, 139 deletions(-) |