]> jfr.im git - solanum.git/commit
authd: allocate the correct size of auth_client_data
authorSimon Arlott <sa.me.uk>
Sun, 1 May 2016 10:38:32 +0000 (11:38 +0100)
committerSimon Arlott <sa.me.uk>
Sun, 1 May 2016 10:51:05 +0000 (11:51 +0100)
commit075d4d569ea67ddc6e872fed024c414e4b40a843
treebf6203012bc2b8fef514cfb2ff3b14324a5a7232
parenta5f52774bbf82348fffcbe1c838c4b98af2b04c9
authd: allocate the correct size of auth_client_data

If there are holes in the auth_providers ID numbers, the array allocated
based on list length won't be large enough to handle all the IDs.

(auth->data could be converted to a dlink_list)
authd/provider.c