|
Lines 357-368
input_userauth_error(int type, u_int32_t
Link Here
|
| 357 |
void |
357 |
void |
| 358 |
input_userauth_banner(int type, u_int32_t seq, void *ctxt) |
358 |
input_userauth_banner(int type, u_int32_t seq, void *ctxt) |
| 359 |
{ |
359 |
{ |
| 360 |
char *msg, *lang; |
360 |
char *fmtbuf, *msgbuf, *lang; |
|
|
361 |
size_t len; |
| 362 |
|
| 361 |
debug3("input_userauth_banner"); |
363 |
debug3("input_userauth_banner"); |
| 362 |
msg = packet_get_string(NULL); |
364 |
msgbuf = packet_get_string(NULL); |
| 363 |
lang = packet_get_string(NULL); |
365 |
lang = packet_get_string(NULL); |
| 364 |
logit("%s", msg); |
366 |
len = strlen(msgbuf); |
| 365 |
xfree(msg); |
367 |
fmtbuf = xmalloc(len); |
|
|
368 |
strnvis(fmtbuf, msgbuf, len, VIS_SAFE|VIS_OCTAL); |
| 369 |
fprintf(stderr, "%s", fmtbuf); |
| 370 |
xfree(msgbuf); |
| 371 |
xfree(fmtbuf); |
| 366 |
xfree(lang); |
372 |
xfree(lang); |
| 367 |
} |
373 |
} |
| 368 |
|
374 |
|