From: Jiri Bohac Date: Thu, 5 Aug 2010 15:13:38 +0000 (+0200) Subject: fix error-type range in parsing of NOTIFY payloads X-Git-Tag: 4.5.0~564 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=30d8e8d04d132e046a19b6a29439e6efb8ff3e06;p=thirdparty%2Fstrongswan.git fix error-type range in parsing of NOTIFY payloads --- diff --git a/src/libcharon/sa/tasks/ike_init.c b/src/libcharon/sa/tasks/ike_init.c index 38fb572f44..dd4a5f5c03 100644 --- a/src/libcharon/sa/tasks/ike_init.c +++ b/src/libcharon/sa/tasks/ike_init.c @@ -468,7 +468,7 @@ static status_t process_i(private_ike_init_t *this, message_t *message) } default: { - if (type < 16383) + if (type <= 16383) { DBG1(DBG_IKE, "received %N notify error", notify_type_names, type);