summaryrefslogtreecommitdiffstats
path: root/libparse/parse.c
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2015-07-01 03:12:13 +0000
committercy <cy@FreeBSD.org>2015-07-01 03:12:13 +0000
commit5ef283fde5be3bb35376b46b0d8cdc0e6dff0ad4 (patch)
tree5b1ffa3ad0e56e0e9f2991011729791ee86d7632 /libparse/parse.c
parentf63afe28012870b3eb07e80844160966b32ef52e (diff)
downloadFreeBSD-src-5ef283fde5be3bb35376b46b0d8cdc0e6dff0ad4.zip
FreeBSD-src-5ef283fde5be3bb35376b46b0d8cdc0e6dff0ad4.tar.gz
Vendor import ntp-4.2.8p3.
Approved by: delphij (implicit, using SO hat) Security: VuXML: 0d0f3050-1f69-11e5-9ba9-d050996490d0 Security: http://bugs.ntp.org/show_bug.cgi?id=2853 Security: https://www.kb.cert.org/vuls/id/668167 Security: http://support.ntp.org/bin/view/Main/SecurityNotice#June_2015_NTP_Security_Vulnerabi
Diffstat (limited to 'libparse/parse.c')
-rw-r--r--libparse/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libparse/parse.c b/libparse/parse.c
index 9e663f9..64167f1 100644
--- a/libparse/parse.c
+++ b/libparse/parse.c
@@ -697,14 +697,14 @@ timepacket(
{
case CVT_FAIL:
parseio->parse_badformat++;
- break;
+ return cvtrtc;
case CVT_NONE:
/*
* too bad - pretend bad format
*/
parseio->parse_badformat++;
- break;
+ return CVT_NONE;
case CVT_OK:
break;
OpenPOWER on IntegriCloud