View | Details | Raw Unified | Return to bug 1213 | Differences between
and this patch

Collapse All | Expand All

(-)openssh-5.6p1/ssh-keyscan.c.orig (-1 / +14 lines)
Lines 580-585 Link Here
580
	}
580
	}
581
}
581
}
582
582
583
/*
584
 * To convert general remote aborts to continues for ssh-keyscan while
585
 * executing the `dispatch_run()' function.
586
 */
587
void
588
cleanup_exit(int i)
589
{
590
	if (nonfatal_fatal)
591
		longjmp(kexjmp, -1);
592
	else
593
		exit(i);
594
}
595
583
void
596
void
584
fatal(const char *fmt,...)
597
fatal(const char *fmt,...)
585
{
598
{
Lines 709-715 Link Here
709
		fdlim_set(maxfd);
722
		fdlim_set(maxfd);
710
	fdcon = xcalloc(maxfd, sizeof(con));
723
	fdcon = xcalloc(maxfd, sizeof(con));
711
724
712
	read_wait_nfdset = howmany(maxfd, NFDBITS);
725
	read_wait_nfdset = howmany(maxfd + 1, NFDBITS);
713
	read_wait = xcalloc(read_wait_nfdset, sizeof(fd_mask));
726
	read_wait = xcalloc(read_wait_nfdset, sizeof(fd_mask));
714
727
715
	for (j = 0; j < fopt_count; j++) {
728
	for (j = 0; j < fopt_count; j++) {

Return to bug 1213