git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b0471c
)
r10159: Dereference padsize before comparing to an int.
author
James Peach
<jpeach@samba.org>
Mon, 12 Sep 2005 01:34:51 +0000
(
01:34
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:38:04 +0000
(13:38 -0500)
(This used to be commit
5767c05909c9927b3a806614b1f1bd2f90a35dd3
)
source4/heimdal/lib/gssapi/cfx.c
patch
|
blob
|
history
diff --git
a/source4/heimdal/lib/gssapi/cfx.c
b/source4/heimdal/lib/gssapi/cfx.c
index 1cc510d6fcb87d3473be12c3ae938841ab593e8c..3e7592b3a73070765797d4bc90cf9123a5436b76 100755
(executable)
--- 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);
}