Commit report for v3.0.x branch

announce at freeradius.org announce at freeradius.org
Sat May 20 02:00:02 CEST 2017


New activity for FreeRADIUS (the high performance and highly configurable RADIUS server)

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEbBAABCAAGBQJZHzUgAAoJEH0Oec13Yh7N1wAH92RPPnhBnPjXCxZ4+RLnqSTj
 De/1ZqkMgz3gZo/twyahhmjbvMvZNvCTsT94xyjGZeUWgzy5n254q2+u9XU/rPv1
 pryYPwa/fvyxgtEfts6j0vLpEZeunumYA8TGlwlr1Ev4OB1yxvcx1i5B5oCyS4Vy
 +sGcQKczJGbyEf3oqXjvZ9bz4Onoz9W5kAqvQVL/pxOvOKx4MbCtlRT6CAYl7W+6
 soff0SkfENkt92JQJVeP6a7xIumZZ8Gdj9N2Oq6DepGZdKoVdPDqtsLAHJEu9b50
 eEEuKJR7x+7A0V18QltYeU3PKV7w2b6SkWtO1VHzH29IPpz9mWpJ+qeVkK6smw==
 =gaHC
 -----END PGP SIGNATURE-----

note recent changes

Alan T. DeKok at 2017-05-19T18:10:37Z
Files modified:
	* doc/ChangeLog

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/387540dc4401298eac7c545a9ba94f2488fa3cae
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ+AAoJEH0Oec13Yh7NtX0IAJertxTrKwmmKfZkvKfJTkoY
 +1h5vzItluBURTYRBTHk1dZpKcABX0Lc9zPMUEIjq22ZbEDEd6CKDEd5sfrTYWxF
 6SS+kUSE/MaIyYly9XbQRP1NEH89YQRY6ERtjdtyTsSOErCP5FyextNnjKRfaQT3
 P3RnXLYr8KHVDWa17xoj9PWbjgZY/UDSBf84QemvJPSbggHW/OoX5RuVNi5fBbQw
 SgcS/QeVPlJYdPtR26FCCTZLRdfI3j+2c11qSM/VQppM2wvcsd8zllJsUDHpaIHN
 BoqGupewoZ+TV28Ar084hSkZkH2zuGNJHzpsFiVzeUW7LAxqLaewffgw4PSffuE=
 =jGOe
 -----END PGP SIGNATURE-----

reduce scope of variable.  Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:54Z
Files modified:
	* src/main/exec.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/67cea3d6b2fd28c5a7dea3de13828577ceb17043
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ+AAoJEH0Oec13Yh7N/kUH/1wpQkIg47hxPcUdOfwhsPn8
 FWC+5QellvDn0/6MiZzLEs6DfohRrQ3bIqTydj5WUGbPlCaIqbV3KmQoGVDg/n+g
 pyXFjGLt/623b06LQgCzaF9uNvLA0y9hGYPKb7K4A4tr+dAgUbglaM+XZW+uRwEd
 wY7vPlXpA5t5Ry2J1RNxraaBApgHVi3ZbcO8J0BJG1KQjAiH4zC9WlUGO3MjvdvH
 qiKP6Yh/jWUIolmF750l8F3szGcrut2AEdTc1yPPOI6kzXapRESaqqZn0AW8cODa
 ADon18kfhlOXITy84mFiIJEpSeZYZ7GPgiYfkNZWpbmBdCc9EgrcjL5n4+gctz0=
 =0cNI
 -----END PGP SIGNATURE-----

request by be NULL.  Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:54Z
Files modified:
	* src/main/tls.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9aeaffd0c07f11e300a1fdc1e6dd8bb0ab8349f2
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ+AAoJEH0Oec13Yh7N1/kIAJ6EY6dGtqvTGKMnF9nYgnYv
 KPl4zXhrhyOZKGphjBp9Un5Poq/I8KWQLW2nHBBnaHijJ9yr1KZQBVJM7DC0r6Ud
 KQBtk8TrTGy2c23HxtMCnueTARTtE9jKhtp7q8cRBWXeOBKXAgV1rMGLWr/o8gMD
 DWWb46TXEKhdqXtDXDWtwRtPQtRjxOtUR6qgVYk5m5nPhFPi5rHruZq1mVHJ5iD6
 oGK8oG73weiKnEkDhpCZvoJ6G5lWqTz9IKBHcWNlGkJHP8f/2NLu3vJyoI3iv85u
 9N6pjmEKHNhsbTTKaEq4epUDHu2W5E7kQ5pLRtwo3KA2ofcrnYiMd7azfTIYzMw=
 =7nn+
 -----END PGP SIGNATURE-----

move shutdown calls into check for ssn->ssl.  Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:54Z
Files modified:
	* src/main/tls.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/23aac1076dd3b248ae568e8716a5f9fd5ca69da7
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ9AAoJEH0Oec13Yh7N7AYH/3pOLBXx8WcrBQpBddgp/4t1
 pJC/OILZdniWTlVnvlqU+YJ0O0xxpcZ3Q5+JjHJtj3jLSjRcGomBJdhVo3Ies76r
 2bnePL/tVTyUEuUOS8DwJ1Wgff0aqXnvLbAkmOnqAu/OLuUtsxy97Kc9HYnWibHn
 sWFbwXffx6+BEkdSgTROLbCDU1ViwB3dwtc/oywdNDOi1oT1P/TPcqXAIZuZ6jFA
 wOcUt4edxlJPVHRyTBreSE+TbEYuAZ/lzBGs4YSqRStmR0iPF5T0UBwfyKOFi8UG
 /Jl+jzGdr2R6WhxUiYRTCgGsmD3OA3cwtrylz1VYDHyjxh6Li3Qix/9KcYUfvBA=
 =afbx
 -----END PGP SIGNATURE-----

check sizeof(*packet).  Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:53Z
Files modified:
	* src/modules/rlm_eap/types/rlm_eap_pwd/rlm_eap_pwd.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ffa424d138611d2e7ed57b217a899d0c2009ae74
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ9AAoJEH0Oec13Yh7Nvl0H/1rWVmeMKb5cw0sL/GwkYIdz
 8T7iLsnErp8V0InZMlulSYSEDNysb8J/ObR2jt12Oga8Pp4RVyPXediPMGkpvV93
 vvjrnyVBPCF7KnNIXkCSdH06Kwxawzt/dNL1CAmeQ+NYtu3spNp8x/WIrtELozFq
 Z8WV+GPOzOnSzCEIklideFnhK13SMzI2OAVy33UNOtC6ceoST0WtT7aI8lXctaH/
 a/Oebp5MSCT+RAZj04Jq/oz7hvtuJlwI6J2QUKcEZkt4EaqywKpSmDX+ZGgzxCrc
 5M0P8HwiNa0Es8WbH4XWayBEKijAghRa4noC9B7UXoulcnL4iApV3KQ0zP/J+iE=
 =Kt5Q
 -----END PGP SIGNATURE-----

check ptr before dereferencing it.  Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:53Z
Files modified:
	* src/lib/missing.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6cdcc69c81eefde590518c3479320bf589a1325f
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ9AAoJEH0Oec13Yh7NW5gH/R+dULAhLZtwz3BOLslhVDSU
 5ISeCXV9Swi8FUGttueuA3hQl6qLk0MbPca9z5olP11Vc2jDiCfpyM8sHr/d42TV
 VNuFfVnrTBT1r3IQF/0ZA67gqKbwE2z1F/o1dz8w4jthZ0AY2oiSajtXZ6NPT7RZ
 TPXMNlZpIvBR6Aimx0OQdEiO0BSz/SZYaw1C0TKFvTKSqsEDXk5Qdj+25QHWbD12
 9RQsxS/f9Ffm6BoeyEeHq9pAAQylfZoMEHe8YH8c+DF+6ThfU9GZKRULnuMSwqA8
 9lYKe8MF2ekpZxMVf7iW25/ep/uHp6arb+apTbecv0CJXCqXmr3IYBZb2o7oDhg=
 =dJKR
 -----END PGP SIGNATURE-----

remove redundant declaration.  Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:53Z
Files modified:
	* src/main/tls_listen.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9aed7dbda0baeb55801b33114cd259d64199e1be
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ9AAoJEH0Oec13Yh7Nf8kH/2VwnetEt2NQdCBqCVQ42va1
 9JG7+7L3zPYjMSCr2/ks+Ec4QhrwzSa1FQYG64ooMK601/hJofJ6v4/RVQS57p6a
 pBbeh4sZ7qFPdyMvZNknPNBk9tlz0xUhqZNti1sh5Ywf2Si2O1yQAUaO+3iVBE4U
 OrDL5L9Tcz5jldCxN+VdZicOj+UmJ/HDr0szFRYWvHkqK4DgN4MG94DeBKvYgu3Z
 9A8ASuftXe3Nhf9groTPKbg72df3b986v4fTGuF7qSaM5fseBN39Bl60zT7YmlEd
 CBglkTLPcBxfGlOjzQLhVF7AjpVybBZsXS9iKK9TC678x2Tz/wFIfHZKoqvXZX4=
 =l95J
 -----END PGP SIGNATURE-----

move assertion to correct place.  Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:53Z
Files modified:
	* src/main/detail.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e19931e27d55fa6a9fd3bd9f027fafd9ecfe45b8
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ9AAoJEH0Oec13Yh7N9ZAIAKkdEjdOkLM9vtYxVIkR6eX/
 NA+lAYpHJSVBMIlvXpSPZYHAdPNrjyyDiOJZoH/4RQTZcOOZEDbkSReJRDuyHWNr
 urBFqWzfmgGUQ9EtSQTFXxo3MGL2ILJ/cVaRPTOPmpY+KmHvp2CHrmTP/rrmKAb9
 pyHx2ue6DLc7VrxjposIWBESDPbmexIqidtD03LYKWRhUlwZs3n+GxtJ7Q5dQww2
 aMa9At6PBHzjG5fk28SS5bQUOXtmwxjpREIZIfM4r6Abjy9GaRlA79FKwGTUu89J
 OQPRXP0gCyBr8R/rGwdzmWDNG80kO7eyAMd9JyhQoTygkbs5pNUC1s+Ag09Pa8s=
 =6CXe
 -----END PGP SIGNATURE-----

remove redundant assignment.  Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:53Z
Files modified:
	* src/main/process.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/26657400e692bd1de11d351e18b793ffc633fdf4
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ9AAoJEH0Oec13Yh7NsK8H/0QK0OqpD0WM4RjIi0deihIF
 Av0cz4NZswVnLE8FsjiSWwMbzls1PXXG8q+2YZbe6kZyHqA45Pn5RzXamagbv1Km
 sWnMxeV9rkVUxfcA7QDxDhc2u20za6IU988GMoiM4RkQeZ97haccSbiFmcQ6lhGI
 eLMmwyqWMryX6U75RbAWIhlw+mSVDezxKAGOMG7bkGEY+JYQcCngu0ifRSd2ZRCp
 SXEQGTe0z/sRHNUBj01JfheTtcP0P62wEjTJoXiGWzTLyU4C2T3EgIdBOaAJp7Kd
 C6geN/CcQ4eaBHp5CAwF7xMFfneFORKU8i0FwgJazPJ0N6rxeOsZHoWrOjAYIFM=
 =Phzh
 -----END PGP SIGNATURE-----

move assertion to top of function.  Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:53Z
Files modified:
	* src/main/process.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2d53ad70de9a07ffa608cf9f392fd3dbd7f71f97
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ9AAoJEH0Oec13Yh7NEEoH/3KBAO6Z7N85dWmrgBGXe+3e
 NqI2FUAOrBiRDFJYiAkGAN0BFbxAfVdEuH2yZKdV5i3w/0ATAiLyNgG5LSk4y4fg
 2wQXl+ya1X4tEPYxcLMnqNDXmafRTVY0L/qf6h89JFvkMj1/vYmgGuh6iN4mfQKL
 +UzS2FJWCwGK8osMkp+GvIVi7vT2DZle1ajusgVF9YMWtr7U9vbLVWfxHO8qY4ur
 8plYb2wocIGO234xU9WQZRhqwytwq3yXjg9GJ46DO943ARdMpqtEWT/EXCMKDR2q
 KqhlD/w/p8S/CQIznuPYee65Vlo5PueLTcD0QcWuIo2V39lL3BeqjcK0DZhp/sI=
 =hvGj
 -----END PGP SIGNATURE-----

fix wrong assertion.  Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:53Z
Files modified:
	* src/main/modules.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/dee48bab59646ac257bc99ba23662f8bef8bf480
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ9AAoJEH0Oec13Yh7N1f8IAI+JuD0zqDRyDVXHkRDzH2ks
 ZpD9uzyFwvmysaXCHXdWulEcaRbw1gwUWbFaQMrplVp7gWvq923KvtgBeHmuEtHG
 DUCtxuCcMzYselheQ1FAZ2wFI4mIXlt8SpSgJFYKvA7yYvFOWRkrxdIsHQDsVVbr
 3/lQqE47qMa6pLhnCHllkyjttxBOU4Dw4sqihIl8X+ROGAiRfgRTHBo+vEG6+mXs
 sqqhlIMpNTpIqgclM12JWo+KxxdHZee5/kkBkfDVRpeJjyMMuT4Sd92KZNMdS6u5
 8jTIVwyayp7xgnUYz40dMdDTK1Ckv/X3/r08dfPC0jvuUOtoJ4y7891sBqZCRX4=
 =1qZK
 -----END PGP SIGNATURE-----

check for OOM.  Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:53Z
Files modified:
	* src/main/modcall.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/17dfb31f3146e61b492fffddd1163a5996a6b950
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ9AAoJEH0Oec13Yh7Nt+YH/R9A5G4A3P0XUc+HSmv+VxDg
 G37tDCgk2clwRPxB3aSj8dd8HApR9KK38hdxg6Cus5wsvhHAAZcK/1vzaAt9suss
 S+ivjpOH9gAg+yfma3Cv5j41J/VCssGMgImtDIBK1ahTnHrpJGlAwl5Hm45Dvf2O
 cU6RYfcaMWtvOwZZ+LuFBrZ3icShG811CtZ6MzI+RcXjOE0dN1YeCFxqKqrNyIZB
 Na56pS1Z0YjabbIiaxAT/yE8yeT0SfJ0MhCLbht48Z50DdlWJcSJE2ZERqW2NvjF
 fnlCO6GhOaiI8ug64hOqMSiZDhpWmnVzWhk0dKL1vL5BoYnUOaEjl/Jrk6HJPOw=
 =YJx4
 -----END PGP SIGNATURE-----

check before dereference. Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:53Z
Files modified:
	* src/modules/rlm_eap/libeap/eap_tls.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/60d00043e43d01b41aa21b6d7e905469eccab9c1
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ9AAoJEH0Oec13Yh7Nz6wH/RiKAWS0M4leQRjOAkXKiO4E
 NH6QzPOxmJ719ELPS29I0BC0/MDSF+2BolwxnbicMzox6bBayAOa6HyoL6iw5E4Q
 sCp+/+iOd6f+OjtQIFe2e7T19SV7rVjTlr4gus7SegT5AHkoTJVqeCuL01x5kp39
 05vzZDPUQEcdwB4mpgNndPXi5ta7EzzB1mxlXGwPPjKvJuky2rY2pGRPmS/Qt+T1
 S4B/7zg+zTia/IGyohzqy69XeahMzazo5E0SMHFDSk72d9+4o6D0pcZHVBTsLfxC
 HfvmZhVEaqiWXZv9yT9APt2SrAKhQvQA7BWoe51faWvaQobMBcr2UUN1xT2F4y4=
 =lkAD
 -----END PGP SIGNATURE-----

don't assign wrong enum to variable.  Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:53Z
Files modified:
	* src/modules/rlm_eap/libeap/eap_chbind.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bdcf5fff234ea13592cf775d5fa7a1c889102b2b
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ9AAoJEH0Oec13Yh7NDjQIAKfhgiVFbk9NcQ95IZfEv0R2
 CCc1/UZFPG6FeIvsg28rOuCSHgA8fbb0RIcbq/sm/S8mgJBd9GmCOTKeILYM3Spt
 ghBLWS/NueDvbVwddeV3N/A15AAXHG2c/upZXVVkfrKu9zERbsbbrZq5OtMyfpRK
 tlMc7P4cy69X1hNTSr6AmSN2Bf0kvyJNx+x2nFihn1w4gFfGeGeelcBd373OEqQr
 L55sOgcwERqFJqngerKSettiWhxaJdW5StkeCNaFoI/Tvfco7iO4haAJfsPogtOa
 crNdEXXHn9lHb/vKPnR02aEJkcK1hxnztxtrOq8qNiTVyemq3ZoTc/0FHshFoz8=
 =wVjB
 -----END PGP SIGNATURE-----

remove redundant check.  Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:52Z
Files modified:
	* src/lib/radius.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/45ae125a525c7c9e706972e400f043f4e3a94bc9
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ8AAoJEH0Oec13Yh7NFTUH/16CGwJ2pWUcxrBc4LnutceN
 Flb02fmOANfrH1b77Z0LjN1s1uNyvScfAC3GcwIpvn7TDYSKkiNcKbGkStjyV4ux
 dIZuEFqsp7ARz3cezxo8jvt53EXHX3C5dbkJa2Zl6hlrfY8mk+PY28TqL6BObAfu
 FlCclJZlie6bnL+21VOTSvZDBTPjRPR6iOxiho/dLbI5Ja7G6ByU5yhzEDhgOg82
 a3+hzFWq/FFPMh1wjdSZ/smfqS4eUulPXdCJq8MvT2CXzHarMpjIB7N3PUZOlFqo
 wUywvggkq4HDJdwV0mUqsk8FSVLr5OAiPjox89PoYsl1vriOg2KVpiPchewClVk=
 =itjt
 -----END PGP SIGNATURE-----

don't use i for inner and outer loop.  Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:52Z
Files modified:
	* src/lib/misc.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/faf5543f2b266158439f9decb4fc38ddb4ce3b8d
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZHzQ8AAoJEH0Oec13Yh7NCtsH/3IS2RVP7jaUCvJaylgOQ01v
 Jkt8sDFQwmiQG+VpdWDVZuUV3Ty80h0ifnhaqZ/IeUjKZGURceZnFWQvkLxu1diA
 VqTllgni6lmVyVCPtp9YzioQrGjj0PF7j3l/2tKMZTHXhqC37SO9CqQvuGc9txSi
 uZMgsEj9BpFvPRv+16tH7CnCC6HAYeP2OeQuXWhFYmIXbrH9IsakNzWaJ0punMH5
 wIvSPD39TYJnEfeHYyi3Cltm99KqmLRPHwhXhEIsS/5VVEnwGJPRE1yGC5g4y0hr
 aCMbEdTx4EHZXPSYKbXtJc55ZQVuIc/lrG3uYID/0BS7Cz6QfKq1/CxD624Pgu8=
 =uRdn
 -----END PGP SIGNATURE-----

remove duplicate checks.  Found by PVS-Studio

Alan T. DeKok at 2017-05-19T18:06:52Z
Files modified:
	* src/lib/cbuff.c
	* src/modules/rlm_eap/libeap/eap_chbind.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/fd672a969f46ce1f1a964f1a49635b6ad4d3e003
====== 
Merge pull request #1989 from Sp1l/v3.0.x

Fix build with LibreSSL

Alan DeKok (via GitHub)@2017-05-19T18:06:40Z
Files modified:
	* src/main/tls.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e104c051b4f741dafd771d343e2a0d2ae0159ca0
====== 
Fix build with LibreSSL

LibreSSL does not have X509_get0_extensions and was forked from 0x1000200fL

See also: https://bugs.freebsd.org/218225

Bernard Spil (via GitHub)@2017-05-14T13:45:23Z
Files modified:
	* src/main/tls.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d18a0492dbada09e24a422b785c0b106ef510844
====== 
-- 
This commit summary was generated @2017-05-20T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list