summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2005-09-12 01:34:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:04 -0500
commit06393751194618dd98329eb54f8bb175a0f251e9 (patch)
tree3ec454302caa3b5d5e0b67012017d92760156f0a
parent7b0471c66de0f50c4369aac01821b187e799def0 (diff)
downloadsamba-06393751194618dd98329eb54f8bb175a0f251e9.tar.gz
samba-06393751194618dd98329eb54f8bb175a0f251e9.tar.bz2
samba-06393751194618dd98329eb54f8bb175a0f251e9.zip
r10159: Dereference padsize before comparing to an int.
(This used to be commit 5767c05909c9927b3a806614b1f1bd2f90a35dd3)
-rwxr-xr-xsource4/heimdal/lib/gssapi/cfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/heimdal/lib/gssapi/cfx.c b/source4/heimdal/lib/gssapi/cfx.c
index 1cc510d6fc..3e7592b3a7 100755
--- a/source4/heimdal/lib/gssapi/cfx.c
+++ b/source4/heimdal/lib/gssapi/cfx.c
@@ -77,7 +77,7 @@ wrap_length_cfx(krb5_crypto crypto,
if (ret) {
return ret;
}
- if (padsize > 1) {
+ if (*padsize > 1) {
/* XXX check this */
*padlength = *padsize - (input_length % *padsize);
}