Bug 1208453
| Summary: | rxtx crashes on long device names | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nebojša <nebojsa> | ||||||
| Component: | rxtx | Assignee: | Levente Farkas <lfarkas> | ||||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 21 | CC: | leamas.alec, lfarkas | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 2.2-0.14.20100211.fc21 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2015-09-18 01:32:12 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
Nebojša
2015-04-02 10:07:04 UTC
Created attachment 1010096 [details]
Patch which converts strcpy to strncpy
Issue with long path names comes from insecure use of strcpy. In almost all cases strcpy is used for generating internal debug messages, which are not normally presented. Simple conversion to strncpy limits length of reported messages.
Created attachment 1020852 [details] Add rebased version of first patch, update spec file to 0.14 Adding complete patch also for spec file, release 0.14. The patch in comment #1 is rebased to 0.13. Scratch builds: http://koji.fedoraproject.org/koji/taskinfo?taskID=9616716 http://koji.fedoraproject.org/koji/taskinfo?taskID=9616743 http://koji.fedoraproject.org/koji/taskinfo?taskID=9616780 The patched attached in this bug is arguably a security fix. Would appreciate if this version was pushed also to f21/f22, see bug #1212417. rxtx-2-0.14.20100211 is available in my copr repo at https://copr.fedoraproject.org/coprs/leamas/harctoolbox/ rxtx-2.2-0.14.20100211.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/rxtx-2.2-0.14.20100211.fc22 rxtx-2.2-0.14.20100211.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/rxtx-2.2-0.14.20100211.fc21 Package rxtx-2.2-0.14.20100211.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing rxtx-2.2-0.14.20100211.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-7579/rxtx-2.2-0.14.20100211.fc21 then log in and leave karma (feedback). rxtx-2.2-0.14.20100211.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. rxtx-2.2-0.14.20100211.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |