Bug 1385

Summary: extra backslashes in RB_PROTOTYPE
Product: Portable OpenSSH Reporter: Jan Pechanec <Jan.Pechanec>
Component: MiscellaneousAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal CC: djm
Priority: P3    
Version: 4.7p1   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 1353    

Description Jan Pechanec 2007-10-30 05:20:58 AEDT
The RB_PROTOTYPE macro in usr/src/cmd/ssh/include/sys-tree.h has a backslash on the last line of the macro. This backslash is not needed, and it's a maintenance hazard. If somebody puts non-null text on the line following the macro, it will get sucked into the macro definition. This looks particularly easy to get tripped up by, because the last line of the macro is blank.

this issue is documented in OpenSolaris bug database as 6368560:

http://bugs.opensolaris.org/view_bug.do?bug_id=6368560
Comment 1 Damien Miller 2007-11-03 10:59:10 AEDT
fixed - thanks.
Comment 2 Damien Miller 2008-03-31 15:22:22 AEDT
Fix shipped in 4.9/4.9p1 release.