radius: fix final memleak due to malformed dictionary
authorPeter Wu <peter@lekensteyn.nl>
Tue, 28 Feb 2017 16:16:54 +0000 (17:16 +0100)
committerMichael Mann <mmann78@netscape.net>
Tue, 28 Feb 2017 19:02:34 +0000 (19:02 +0000)
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 <mmann78@netscape.net>
radius/dictionary.zyxel

index b36d907063fca12cf3111233eb3616332e252f1b..6bde7317f609078f9202a68992532e45c4e81be1 100644 (file)
@@ -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