diff options
author | tegge <tegge@FreeBSD.org> | 1998-09-10 02:01:06 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 1998-09-10 02:01:06 +0000 |
commit | b4e3d223bf7214138b267ffdcaa09453e6e6b800 (patch) | |
tree | df2fdb63d648437f4b07cea0321ce6f9030c580d /usr.sbin/xntpd/xntpdc | |
parent | 69c1361306a3e8ba1331f54b0aad7deae76848c5 (diff) | |
download | FreeBSD-src-b4e3d223bf7214138b267ffdcaa09453e6e6b800.zip FreeBSD-src-b4e3d223bf7214138b267ffdcaa09453e6e6b800.tar.gz |
Don't allow longjmp into a no longer valid stack frame.
Diffstat (limited to 'usr.sbin/xntpd/xntpdc')
-rw-r--r-- | usr.sbin/xntpd/xntpdc/ntpdc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/xntpd/xntpdc/ntpdc.c b/usr.sbin/xntpd/xntpdc/ntpdc.c index bb42a19..6af6d1a 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); } } |