From 77d309c92fdd3e7826c12301d3d4ab3a56251b1b Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Tue, 28 Feb 2017 17:16:54 +0100 Subject: radius: fix final memleak due to malformed dictionary The VENDOR line did not have a proper ID, so scanning the full line failed and the "yyextra->vendor_name" was not freed. Import the current version from FreeRadius to fix this problem. (Since the attributes are now grouped by the vendor, the conflict comment no longer applies.) Change-Id: Id6020c0a5f34c624aedbb0acebe70dc643402e41 Reviewed-on: https://code.wireshark.org/review/20312 Reviewed-by: Michael Mann --- radius/dictionary.zyxel | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'radius') diff --git a/radius/dictionary.zyxel b/radius/dictionary.zyxel index b36d907063..6bde7317f6 100644 --- a/radius/dictionary.zyxel +++ b/radius/dictionary.zyxel @@ -1,19 +1,17 @@ # -*- text -*- +# Copyright (C) 2015 The FreeRADIUS Server project and contributors ############################################################################## # # Zyxel attributes, of course in the RFC space... # -# This dictionary is NOT included by default, because it conflicts -# with other dictionaries! -# -# http://www.zyxel.com/support/supportnote/p200/ap_note/isdn/radius.htm -# -# $Id$ +# $Id: 966af2b33a02ed7ef370cfcb837bd175ad8fab00 $ # ############################################################################## -VENDOR Zyxel +VENDOR Zyxel 890 +BEGIN-VENDOR Zyxel +ATTRIBUTE Zyxel-Privilege-AVPair 3 string ATTRIBUTE Zyxel-Callback-Option 192 integer ATTRIBUTE Zyxel-Callback-Phone-Source 193 integer @@ -23,3 +21,5 @@ VALUE Zyxel-Callback-Phone-Source User 1 VALUE Zyxel-Callback-Option None 0 VALUE Zyxel-Callback-Option Optional 1 VALUE Zyxel-Callback-Option Mandatory 2 + +END-VENDOR Zyxel -- cgit v1.2.1