Bug 184399
| Summary: | Treo650 cannot sync on yesterday's rawhide | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Suzanne Hillman <shillman> | ||||
| Component: | pilot-link | Assignee: | Than Ngo <than> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5 | CC: | fche | ||||
| Target Milestone: | --- | Keywords: | Desktop | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2006-04-04 02:20:25 UTC | Type: | --- | ||||
| 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
Suzanne Hillman
2006-03-08 15:41:26 UTC
Created attachment 125809 [details]
output from trying to run pilot-xfer on an aspire running yesterday's rawhide install
Also happens on a fujitsu lifebook. I suspect this to not be machine specific. The problem is libpisock.c/serial.c, near line 365.
char realport[50];
realpath(pa->pi_device, realport);
With the "fortify" gcc/glibc extension, __realpath_chk is invoked (see glibc
debug/realpath_chk.c), with the compile-time known size 50 for the receipient
array. Since that 50 is smaller than PATH_MAX (or pathconf(_PC_PATH_MAX)),
glibc detects a likely buffer overflow and kills the program.
The fix would be to have a much larger buffer. Some files in /usr/include
define PATH_MAX as large as 4096 bytes. That ought to do it here.
|