Commit report for master branch

The git bot announce at freeradius.org
Sat Sep 7 02:00:02 CEST 2019


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl1y6S4ACgkQ/6TVgp+2
 18pDehAAhjcx7029UNqCkppzuA0rqCobmPguhuxeDJXdqMzsJ7vqDgHagNAwxVzX
 QlOrF4KIDc1xm3+5sh31XvINTcAxGFUVxxBduhcgsIKtrkp+5aADIQ90jeOC4Dcw
 ktsQlrAFiMVKYXv7zSI8nKU0sn+p/CmDl+jrMTkxONpxntGllrejrVW4v0tXkdTv
 ae8nLPy7q6z9aWIsVJQpIvBAJyGPY6FM+hQbpo85/6ydX3PrrHNOv5BSjle+gx+v
 Pr9HO3OxGpVF+Ds6AxyQ4G64rPa1jwJNCdEzmwnuawv2NgnoMrUZgC0gWM2Lbsaf
 bSSirrriuJMycL05JRye3yJ1vAFbt3cEUNE3nWgebT3X8I4MDDxmdnYatCYCxnhO
 uIszVG8B0ojXGrQg4i1jxBn0VEdxE1RNNgMvZEVqquRtDTlpXjRdtlm3nQa5k2ht
 OG3dtmNC5sp8R3k4M2DpBt2K/xFBFc/f9qw6dDAhyHLhHe3L2AgzBuq+EQgpLT1F
 CK+AlK/K1d4mVMIcZtGcOCwWcPkM7By6BiOH4eDjyGWGJyfGuZ1QLg9wPQeyYyJB
 HtYxF1/8BVx04FNaEOb0zfbHXPOr8D5184hcVu4D+YsLoqiND6UGjP5D1OES8pQ7
 yPARKLE4IwkfZ8foBmDxzqixhLj0grbeSaol9iqCtKvMzI4CSj0=
 =5zuT
 -----END PGP SIGNATURE-----

Switch to using a flags field, and set flags in the correct places, i.e. within the foreach and policy keyword functions

Arran Cudbard-Bell at 2019-09-06T23:18:06Z
Files modified:
	* src/lib/unlang/foreach.c
	* src/lib/unlang/function.c
	* src/lib/unlang/group.c
	* src/lib/unlang/interpret.c
	* src/lib/unlang/load_balance.c
	* src/lib/unlang/map.c
	* src/lib/unlang/module.c
	* src/lib/unlang/unlang_priv.h
	* src/lib/unlang/xlat.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/56849705ab8aecb1b92102e82782a747913fb3f3
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl1ynakACgkQ/6TVgp+2
 18qTqg//YAc3ljg5+W6g4xHl5JBxiBNemCOYTcBGi5mfQ1UvpgeTny9lNXOAXlLb
 pppP8uNEFv4X1U3J/D5pK4aaz9XMa4S02Eg+DDbGXmZHJVh/WcpfdX7j/fIADhBE
 W4wDJ6dfEoA1RDrQA/44N8ZqbK29BmYdY7BQ/N/x/b3JKt49otHTXk9HrouQvIb/
 NiZYig2oIsUFh82qM7VzPrj6rdiRlm7djgUeTbsXCW7p/vo7mXHsaWO+fhS063bW
 R0BGhj/HHHU8q0jAEM6uzeNJIUh2KQdrt6Sk9BYoIEAb2JhDB6NxfRHe7LdVjW6e
 xb2LCiNMwWDPkBcy4+Sz/Y8eBGFnW3HlkHcT878QkjyEIHDqaLubdhEooWFF6yzD
 B+fV4nBlFJkDykIQ7qdyAu8n6Jdehv47TT2LPMYB6K4GD8HoYL3fAi9Xu9HHhTyt
 n7H52nyXCYXehGa1gCOzYMp3d7i2pSLGxTePblLxQNW3dfwdGss+v5r4SWOEQ/s7
 VNbYvgouj/+iZDYijNzVoivEMJrobUE0G9WTuqYBdcRDQ6qcDiyKxTMXLALcE/4x
 PElkQzQs+SwpUkP88/87p560u/V1/urCiei9X4INJhuphgp4o1WLkL4PGRdDIP+I
 1+p0X0hzKs+AfR7fyBu+Gmx2j20BL5JS0sdvGMjQCRNEv42W0x8=
 =AibQ
 -----END PGP SIGNATURE-----

Fix stupid hacks in foreach code

Arran Cudbard-Bell at 2019-09-06T17:55:53Z
Files modified:
	* src/bin/unit_test_attribute.c
	* src/lib/server/xlat.h
	* src/lib/server/xlat_builtin.c
	* src/lib/unlang/base.c
	* src/lib/unlang/foreach.c
	* src/lib/unlang/return.c
	* src/lib/unlang/unlang_priv.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8760ea8a332836abd40377986e37c6768ff92fb0
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1ymYYACgkQfQ55zXdi
 Hs3CPAf9HZjiXTTAaHwD9QraIKmZ3cQwzXWAZbPVoj9pXKnkim+ivHujitqznV6z
 +JxD3Yn365PR9ToRyiTetJoTlZMKELQot4oNuvxEYz94Rr/p3U9f5yhVccrduZwF
 +jSkqGPFqDUOb3u7kT9XvlsRuTgWKZ0SCt4cmKbYR+lpEG20stYsYRWN3Jq8yQZI
 aaq76McOAH7QXm0ORWbQ0jSpoRMY3ppuf7xCect100+JRohh8ymi2W9Jhvn41ceL
 gFyOz1Xq8l6ywj9xAxqwgFnax+K1Li7F2h2oUpNTSWkoJrr733B8SWoijTLu4aRk
 rlw5jAzM0GKQCjkGf+nYTzyeX7vP2A==
 =dIbo
 -----END PGP SIGNATURE-----

add test for `foo = #`, which shouldn't be allowed

Alan T. DeKok at 2019-09-06T17:38:02Z
Files modified:
	* src/tests/keywords/assign_error

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c878b46589a73312539773612d09b09d1d710fad
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1ymTEACgkQfQ55zXdi
 Hs0n8wf+IGBQvv2q/VBfhbRyzEmtnFJ1B0ckOIaHrZWd0oPs/JwzfMf3BEuAYTF2
 U0RdQ5nbeA0kBkdN5apmJW/060PeuGeMZQY+u11tXq6prRcy4lRkl+c7gCWuZuAQ
 rPXvzPMihpqVNh7hnetiD1Q4wHZIrIduySW6Orck4dL1+hHJg/aD0xvYgWZbhxQy
 kpvVTfLhKzgn055TFSM94crGlsTa4kQr1Um6m6IlxoBHDEAj8QQwJ9s0ccCmHtFb
 Dwu68BT4KpKS98k+gixUCbKsPnVILaFPbb0/ss5I9PAYkyvDDy9P/uEUO3/wYwYg
 /fv5xP0aEFRook29kNhWz+6FeoUgsg==
 =ciVz
 -----END PGP SIGNATURE-----

move "map" processing to its own function

Alan T. DeKok at 2019-09-06T17:36:43Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a9019379a8c5febdcd1350a0562f361b047e9219
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1ylMwACgkQfQ55zXdi
 Hs1CrAgAk7npLkbEPMNO6SQSzHRviSi6H6CAsy1XnhF/+1nwoYOYNei3iCka/PNR
 hOY3PV1HoO7ZvrGM98BsIKgx2a5PUs3irAIHgIZJ0nUHbMy5EiYRzncKxRz1CTZM
 cygm7YuU0uAZ1P08tAulDQFoPiFxflqv6KAQVqMLXAx/iF9rMGen24ccxcSOOW9N
 eA8A50+RMdD5Xvn4svzZHa//VEkGohkBgG58NKv8hy+NL1HztfbtqD1ARmxcW60Q
 2WiqSTgSgobd0GyI7m9SI1d5rH0VgwcDD5nLn8kOdlZ1Kn/80tEM+WPWphj2Uugq
 bV+wksjpVih9BexuUh9Tk8lyLs4a5w==
 =N5f1
 -----END PGP SIGNATURE-----

move "if / elsif" handling to its own function

Alan T. DeKok at 2019-09-06T17:17:55Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1a25d308bf9754808b85cd3539d944d268c72a0e
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1ykg8ACgkQfQ55zXdi
 Hs2s2wgAnhWTUhuM9id3P+Zcet61O8TDhBl3IXzOAQ1xPtER7za4RorLLR/BgtpJ
 v/I0/G0qghihKUy6+9coG9iOoHrNiNgeBfm2zbt4DopnKAcpwIZAduT3HEbfXBO8
 eIiY+4icDRf7UIGktLO6d9JPZ769yGBjIl0aKYrRv13aCiFxyjUWAGcxbKyapNit
 OaXiLrFOMumXYA+vOXm4cjB1107PIeR0H5IAbLunDvv+MNmMDijq/sRuPv3/sT0b
 Srtsn1IqzWZ/qbwIP+lfzguLxMrwzkE6nNHiJh0wi4cKkwONtxw1rIDJzoyl5/Tc
 PzViVWpDS/Fj5EUGbRZVGyMV4D8BIA==
 =0nuM
 -----END PGP SIGNATURE-----

try to have most goto's going forward

Alan T. DeKok at 2019-09-06T17:06:14Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e32e4b221f1c362ef0b02c7d4ace016fe13b4be0
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1ykdMACgkQfQ55zXdi
 Hs0rUwf/QoIE3oRmgmk0KfQhvEw6MYwrIssfB4XAqgjs2yDOh5H7z4dtzOJ4zZIY
 vfEw+YRRCRuHBxWRmNnbipr8oFT8NZUqZIpLURMPaik6EHN/VqO2XF5lqiSGvi2h
 nVTAEX0nj0xBG65RAVQqvj5ONifzN4B/5dggFDsF8AlmB5DJCWvtY9D6EmJXgf6C
 VMuVisNTZgGkeMQMq69oY8YnjysZYS/ln3drQSg0HAOv4gOqbCBVc3K4AaPHj6BD
 L1517aJhQWj8jS8FG5PE+8thFf9c/qxIs2ltr/997IDztl+TeIpyNN3QZ5TXtO+y
 9LORrE6a7a6uuRqt7Zd2kppJMZjknQ==
 =mKiI
 -----END PGP SIGNATURE-----

move $TEMPLATE handling to a separate function

Alan T. DeKok at 2019-09-06T17:05:21Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/162b4e305e66d15165db075895d7a82c6d0e08ce
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1ykRYACgkQfQ55zXdi
 Hs1FeQgAnG7u7WvbP+npidTiNS5WkQ5uEfbOEuzBOzDblU2WFFwzxPkJCmJr0Gt1
 EtLZVd79dz6IODLR7XDWXI7bajK8qtbI8ZXBCvqiXybO2NheaVw+A2QhTu6t3xhQ
 ArPuYKDJ+q5xTQpgp/ML46oKYRetXAw6UILTQnNjC3t3Sip/fjxHl0qKnKQNhNgJ
 4lealy2biRxPhv1kAGrEgTs6PDiV0tIlhCH4vk3JI723mIdtUttkE1w8KT4RTNGI
 lUmi92COrHj0uIbWxYb+aJ9Sy4OUqyOA889Ioh4g1aeI1Edav6E5gR121QnWKQ5O
 qkf//tjNx5h31HxRtd/9UhPlpCZIGQ==
 =ibzm
 -----END PGP SIGNATURE-----

move $INCLUDE handling into its own function

Alan T. DeKok at 2019-09-06T17:02:13Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/983dd0c12e4171e2558236b2e153288f2af264c7
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1yf/cACgkQfQ55zXdi
 Hs1X8Qf6AywDqq5NmuiGdfzWC6m4R5Sj6hwXyg9gGjqNtQJFQyJhoHIeyHjRdrvf
 UfnIfEqztHmHjbgGk1UbItsxqglgjAJoNs2V0jgCarC1Sj0FWFGnBt8RuFp+5Euj
 CPDglS1p+L8egqiLTkytXDZ85reRYKcktZP2y+bZUcYxWHl4C4jYXm+JHy/zoZn6
 smqf2PQjQddwLN3Ce9Fcaw9+5bRfQoMeDdz1dtbxlWdw3Zaq1rYrAlSngMi7povd
 ki5KnOYDQYo+xb9d12Ea21CwYAJtUn7Jb9S5gTJ3TO7aLUf3wyQ88jxp5L7in5pP
 S3OlwOY90JZMJeLrt9Fl86uecRO4DA==
 =wYtV
 -----END PGP SIGNATURE-----

remove unused assignment

Alan T. DeKok at 2019-09-06T15:49:08Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/04834edf7f90ee737b6180ab7bf78a137b6890c7
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1yeZYACgkQfQ55zXdi
 Hs2SUwf+JPs+5+XZRUcfM4EMjdxz0oBcWkhZd5UZWLNL1oz4y65Z84D4ZN94Z646
 Gh2BNtC3MoB/zzqph6Ck5emJbds1rlraFuRitdQLgy5SJyi5vLqqHOc/cG0c+Vlu
 nukfz2b6SA9micvmmAr8XTXc+ZZHr6ZasPQ5kDohZiMj9ZLqKJEo0OqLcigER/O/
 ghaPkAZhvFDrgkPvTAyRzr/0TZGnrWNvOq+c5dAyNhashS4DvJ2ae7202aH0amyM
 Gn7jCVnhAqmRV+YgvOJKYO99qUryJu+i3zKg16tGPiS4dmOIaMEKmXPWtyCh4mYl
 KQroLImoQ3xTg6jha2LPYx5XYBlpfQ==
 =yZjr
 -----END PGP SIGNATURE-----

clean up and clarify parser

	foo = # stuff

is now a parse error.  Previously it did who knows what. :(

and two "switch" statements have been changed to one, with
a subsequent "expand variables" stage.

Alan T. DeKok at 2019-09-06T15:21:13Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0a796628dcfa70012e7c261d2d65ccd7d524168a
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1ycq4ACgkQfQ55zXdi
 Hs0vFQf/WEqLJUThPIT9xwqYcc2amGPInLuIuQntdPABc+qzE4pJ+7O8wuoPUBvs
 a7+vrJgy6zDXa+Cxht6G2dxL8UIFTRtw/aAZgC918ik75kV17DOF7iIMTPuL6y/0
 iORz7lHxv+jdJpeHWjq3wWcA5h40v8wI7qPd7PMCdtAs328OsaY/2eM+cGOTscpl
 DtHAxgmjhftuNDfmKZ6mn1WgYzI0kuPYEI5IhF1nxh7J9ER79cFMOP99ch0uNpiv
 pGENVnxFbKsJ4GaorjI8bARiu614gwdkUNU6c+RyAhuTChFeaXDD2GVz4BzJkwlI
 cVM0+IaBPWdzxBBd85YibU/S7Qq3cg==
 =xcmT
 -----END PGP SIGNATURE-----

use "op_token" for clarity

this doesn't change the code, but it makes it easier to read

Alan T. DeKok at 2019-09-06T14:52:13Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/eeed8d3fb5146a517de1a647391c938e62d0e2c7
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1yceMACgkQfQ55zXdi
 Hs0ttQf+MyDGJFmzexS4F2lmLIz2GaZ6uODVChNd/K5BjviUQ9eBGsN0KkYOwdjf
 E68AKg+R0wHzNz4gFnKPiP7rccKZl0WxaySK2F4T9iLMglxvQQQ7kDOoIkgZaWcz
 3QJKUwtsyBR87WHGz5r3uctG+uezjsEWJn5baDKK0DSQ1hOXFywfEmlbau8hmLMa
 ChwKs0GudpKhMnD+cgH6L/j7IK0wJcv4Kp7e21jUh6tFct+To+j1DnHYRaKn/FCY
 WRr2qUpW0MtdqV1HbNuVPrdiM1/C5O+VLMNYnZUISCwKRHvF/xeJgKC5pQxxzuxt
 8644H4sZ1TQD/F3CY4+XCrir9O77Sg==
 =kB6y
 -----END PGP SIGNATURE-----

rename t1, t2, t3 to something more reasonable

because 20 years of t1 t2 and t3 are hurting my brain

Alan T. DeKok at 2019-09-06T14:48:46Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/02812c11711b65c9c630c2804195169c602d0e78
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl1yVLgACgkQ/6TVgp+2
 18rgow/7BTQd4Z5G/dv9B8VCGmTTK0T5d4yRlieDC4bCtbF3XjZ5Vp+nHx8U6oPU
 tUkcmZCR0Lpr+qzU5Njbi2fvDAnC+T2spMzBCtj+5QSb1oRA3MLIzGAaRobJaXgj
 F4HvU+LExMkKUGpicfo+cdDCBWT8capY7tTpeD3UD3/S6mqXuGtNPh/c98DX9OZ2
 bfkRlUkXj/q4ASgIWgZxZ66ZAuIC5i/MVUTH1sxHKbm4uiXEGfkpnidb2bYG4eJ3
 Zh5TxQSvL75MKYPB31gN44JuCnNvhwiBM+M5eC3goYnX0zZdGfgNI26bG7EWq0CW
 /cpgs6JSgii4QBsHUOzMtC4uAcWEovJYSQxXGyoY0mEXhUuNfmtcDS3QkU9cU7A2
 E11bSupASYfiVhnQRQaE2kP4zo39B2Nb8EDhMuQW4mziRaa8bOUJXP4KoEo9enm7
 4ly9YQbao3xBBSpaPxAFJlQTjQjxYtQnxRTINZWl9nmWMGqtrYm8eb7TY7D1qser
 2oxHutw5nSUJEWp4Ncjz6TvcqRtI76BQ5U+fs1NfRBDY5kKO+uU5lMBJw+wFpEeB
 o5vQWLmnYmTShBkL+38Q9Ro90BIxL2nQQzjf2BaRcfKQwM0v/rMkUoNWWw5NI4JB
 QkjO3TXrQcdnMmjsTeFpXJQp/c1qqwNSZcmM9Tnvn+iUtFPb/Ns=
 =EwRm
 -----END PGP SIGNATURE-----

Move unwind to be part of the stack, not part of a frame

Arran Cudbard-Bell at 2019-09-06T12:44:40Z
Files modified:
	* src/lib/unlang/foreach.c
	* src/lib/unlang/interpret.c
	* src/lib/unlang/return.c
	* src/lib/unlang/unlang_priv.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/857b095326c1a2ec243f4570acdfacbe6929613e
====== 
-- 
This commit summary was generated @2019-09-07T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list