Bug 1174

Summary: Large Files do not work with scp in HP-UX
Product: Portable OpenSSH Reporter: Olaf Flebbe <o.flebbe>
Component: MiscellaneousAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED DUPLICATE    
Severity: major    
Priority: P2    
Version: 4.3p2   
Hardware: Other   
OS: HP-UX   
Attachments:
Description Flags
Patch to anable LLONG arguments to fmtint() none

Description Olaf Flebbe 2006-03-21 19:56:15 AEDT
One gets a protocol error if one tries to copy a large local file on HP-SUX to another system.

Cause: configure detects a broken vsnprintf, which forces the replacement from openbsd-compat/bsd-snprintf.c to be used. 

Unfortunatly the replacement snprintf does not handle  the "%lld" format correctly. the function fmtint() does not accept "long long" (aka LLONG) values.

So it is rather not an HP-UX specific problem, but manifest itselfs on HP-UX.

See patch.
Comment 1 Olaf Flebbe 2006-03-21 19:57:25 AEDT
Created attachment 1101 [details]
Patch to anable LLONG arguments to fmtint()
Comment 2 Darren Tucker 2006-03-21 20:00:16 AEDT
Thanks, but an almost identical patch has already been applied.

*** This bug has been marked as a duplicate of bug 1173 ***
Comment 3 Darren Tucker 2006-10-07 11:44:53 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.