Description of problem: Trying to sync a Treo650 fails on yesterday (march 9)'s rawhide install. Version-Release number of selected component (if applicable): pilot-link-0.12.0-0.pre4.5.2.1 How reproducible: Always Steps to Reproduce: 1. Connect the Palm via a sync cable to USB 2. Press the button 3. Run "pilot-xfer -s /data/pilot -p /dev/pilot" at the command line Actual results: Get output which I will attach, and it will abort Expected results: Should just work. Additional info: See attachment
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.
*** This bug has been marked as a duplicate of 186779 ***