Author: jpeach
Date: 2005-09-12 01:34:51 +0000 (Mon, 12 Sep 2005)
New Revision: 10159

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10159

Log:
Dereference padsize before comparing to an int.

Modified:
   branches/SAMBA_4_0/source/heimdal/lib/gssapi/cfx.c


Changeset:
Modified: branches/SAMBA_4_0/source/heimdal/lib/gssapi/cfx.c
===================================================================
--- branches/SAMBA_4_0/source/heimdal/lib/gssapi/cfx.c  2005-09-12 01:34:38 UTC 
(rev 10158)
+++ branches/SAMBA_4_0/source/heimdal/lib/gssapi/cfx.c  2005-09-12 01:34:51 UTC 
(rev 10159)
@@ -77,7 +77,7 @@
        if (ret) {
            return ret;
        }
-       if (padsize > 1) {
+       if (*padsize > 1) {
            /* XXX check this */
            *padlength = *padsize - (input_length % *padsize);
        }

Reply via email to