Mats Erik Andersson <g...@gisladisker.se> writes:

> The functions
>
>   shishi_cfg_clientkdcetype_set()
>
> and
>
>   shishi_cfg_authorizationtype_set()
>
> are both throwing segmentation faults every time
> they are fed with constant value strings. The reason
> is that they both depend on strtok_r() which must
> be given writeable strings. Simple calls to xstrdup()
> resolve this issue.
>
> As a second matter, both functions always return SHISHI_OK.
> This is not reasonable, so a change is implemented that returns
> SHISHI_OK whenever at least one valid value was found and set
> for the intended configuration entity.

Thank you, applied.

/Simon

_______________________________________________
Help-shishi mailing list
Help-shishi@gnu.org
https://lists.gnu.org/mailman/listinfo/help-shishi

Reply via email to