Displaying 2 results from an estimated 2 matches for "dp_c_short".
Did you mean:
desc_short
2000 Sep 28
1
[PATCH] Next cleanup part 4 or 5 by now.=)
Changes:
* Removed utimes() posix hack since scp.c moved to utimes()
* Fixed waitpid() to be more proper. It was driving me nuts.
* Made setsid() a #define in next-posix.h
* Removed WCOREDUMP() from next-posix.h since we really don't support
it and now #ifdef .. #else .. #endif around the single place it was
used.
* Fixed typecasting issue in sshd.c with sizeof() returning "long
2000 Nov 08
1
openssh-2.3.0p1 bug: vsprintf("%h") is broken
...ection to hostname on port 0 refused.
Apparent cause:
At line 671 of ssh.c, the message is logged using a format string of
"%hu".
It appears that the vsnprintf() implementation in /bsd-snprintf.c
handles %hu incorrectly. It does the following at line 262:
if (cflags == DP_C_SHORT)
value = va_arg (args, short int);
Similarly for %hd, %hi, %ho and %hx.
The man page for va_arg under Solaris 8 indicates the following:
| It is non-portable to specify a second argument of char or
| short to va_arg, because arguments seen by the called func-
|...