On Friday 25 May 2007 07:24:13 Kai Blin wrote:

> >              TRACE("pInput->pBuffers[0].cbBuffer is: %ld\n",
> > -                    pInput->pBuffers[0].cbBuffer);
> > +                    pInput->pBuffers[input_token_idx].cbBuffer);
> >              ret = SEC_E_INVALID_TOKEN;
>
> If you change the index of the token buffer, could you please fix the trace
> accordingly?
>
> > +        WARN("no SECBUFFER_TOKEN buffer could be found\n");
> > +        ret = SEC_E_BUFFER_TOO_SMALL;
> > +        goto isc_end;
> >      }
>
> Is that intentional? According to the developer's guide, "[y]ou should
> report a warning when something unwanted happens, and the function cannot
> deal with the condition."
> This is something the calling application screwed up, so I think a TRACE
> should be sufficient.

Looks like the patch was already applied. I've sent a patch.

Kai

-- 
Kai Blin
WorldForge developer  http://www.worldforge.org/
Wine developer        http://wiki.winehq.org/KaiBlin
Samba team member     http://us1.samba.org/samba/team/
--
Will code for cotton.

Attachment: pgpXm2GOV0GOZ.pgp
Description: PGP signature



Reply via email to