Bug 2067140

Summary: Fix off-by-one read/write in tftpd (backport)
Product: [Fedora] Fedora Reporter: Lukáš Zaoral <lzaoral>
Component: tftpAssignee: Dominik 'Rathann' Mierzejewski <dominik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominik, jsynacek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tftp-5.2-33.fc34 tftp-5.2-35.fc35 tftp-5.2-36.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-06 18:44:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch for bug#1485943 none

Description Lukáš Zaoral 2022-03-23 12:08:49 UTC
Created attachment 1867784 [details]
patch for bug#1485943

Description of problem: Could you please add the enclosed patch that fixes bug#1485943? Unfortunately, the linked issue is still present in Fedora. Thank you!

Version-Release number of selected component (if applicable): tftp-5.2-35.fc36

How reproducible: always

Steps to Reproduce: See the following comment: https://bugzilla.redhat.com/show_bug.cgi?id=1485943#c6

Actual results: Valgrind reports off-by-one reads and writes when filename remapping with macro \x is used.

Expected results: Valgrind does NOT report off-by-one reads and writes when filename remapping with macro \x is used.

Comment 1 Fedora Update System 2022-03-29 12:23:26 UTC
FEDORA-2022-a179e3686c has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a179e3686c

Comment 2 Fedora Update System 2022-03-29 12:23:29 UTC
FEDORA-2022-9805cfbe9c has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-9805cfbe9c

Comment 3 Fedora Update System 2022-03-29 12:23:32 UTC
FEDORA-2022-59c534a15b has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-59c534a15b

Comment 4 Fedora Update System 2022-03-30 01:32:04 UTC
FEDORA-2022-59c534a15b has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-59c534a15b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-59c534a15b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-03-30 02:25:57 UTC
FEDORA-2022-a179e3686c has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-a179e3686c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-a179e3686c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2022-03-30 02:26:28 UTC
FEDORA-2022-9805cfbe9c has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-9805cfbe9c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-9805cfbe9c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-04-06 18:44:51 UTC
FEDORA-2022-59c534a15b has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2022-04-06 19:04:05 UTC
FEDORA-2022-9805cfbe9c has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2022-05-07 04:12:36 UTC
FEDORA-2022-a179e3686c has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.