Bug in session.c?

Mark Miller markm at swoon.net
Fri Aug 25 11:23:32 EST 2000


I think I have discovered a bug in the 20000823 snapshot of session.c ...

Beginning at line 1229:

if (screen != NULL)
	fprintf(stderr,
		"Adding %.*s/unix%s %s %s\n",
		screen-display, display,
		screen, auth_proto, auth_data);

and repeated at line 1241:

if (screen != NULL)
	fprintf(f, "add %.*s/unix%s %s %s\n",
		screen-display, display,
		screen, auth_proto, auth_data);


Both fprintf() calls have four string arguments, but contain five variables.

What do you think?





More information about the openssh-unix-dev mailing list