diff options
author | James Peach <jpeach@samba.org> | 2005-09-12 01:34:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:04 -0500 |
commit | 06393751194618dd98329eb54f8bb175a0f251e9 (patch) | |
tree | 3ec454302caa3b5d5e0b67012017d92760156f0a | |
parent | 7b0471c66de0f50c4369aac01821b187e799def0 (diff) | |
download | samba-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-x | source4/heimdal/lib/gssapi/cfx.c | 2 |
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); } |