From b4e3d223bf7214138b267ffdcaa09453e6e6b800 Mon Sep 17 00:00:00 2001 From: tegge Date: Thu, 10 Sep 1998 02:01:06 +0000 Subject: [PATCH] Don't allow longjmp into a no longer valid stack frame. --- usr.sbin/xntpd/xntpdc/ntpdc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/xntpd/xntpdc/ntpdc.c b/usr.sbin/xntpd/xntpdc/ntpdc.c index bb42a1990c5..6af6d1ad7e3 100644 --- a/usr.sbin/xntpd/xntpdc/ntpdc.c +++ b/usr.sbin/xntpd/xntpdc/ntpdc.c @@ -914,6 +914,7 @@ docmd(cmdline) } else { jump = 1; (xcmd->handler)(&pcmd, current_output); + jump = 0; if (i) (void) fclose(current_output); } } -- 2.45.0