Bug 875 - missing escape char in "Bad escaped character" message
Summary: missing escape char in "Bad escaped character" message
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sftp (show other bugs)
Version: -current
Hardware: All All
: P2 trivial
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-28 23:55 AEST by Frank Mohr
Modified: 2004-09-11 13:18 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Mohr 2004-05-28 23:55:50 AEST
in sftp.c (line 372 in 3.8.1p1) the \ escapes the following %c format

current:
error("Bad escaped character '\%c'",

should be:
error("Bad escaped character '\\%c'",

At least the IBM compiler on AIX complains about that.
Comment 1 Damien Miller 2004-06-26 09:21:16 AEST
Fix applied - thanks!