[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slurpd is not initializing Ri (ITS#808)
At 01:48 PM 10/6/00 +0000, adamson@andrew.cmu.edu wrote:
>The slurpd function Ri_init() in ri.c does not initialize some of the
>fields in the passed Ri structure.
v1.18 initializes the whole structure using calloc().
>Noticed this when I found that the
>slurpd was always trying to start TLS, and the config file only allows for
>turning TLS on, not off. An uninitialized ri_tls was the culprit.
fixed by use of calloc(3)
> Also initialize to NULL the two SASL fields added for authorization.
Feel free to commit the pointer "= NULL" assignments.
Kurt