projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68a31da
)
In krb5_fcc_read, remove an assert which could never trigger (because
author
Greg Hudson
<ghudson@mit.edu>
Thu, 23 Apr 2009 14:52:25 +0000
(14:52 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Thu, 23 Apr 2009 14:52:25 +0000
(14:52 +0000)
len is unsigned and cannot be less than zero).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22274
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/ccache/cc_file.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/ccache/cc_file.c
b/src/lib/krb5/ccache/cc_file.c
index 0494c35526c45ecefbcc201761b2429a1105597d..8b43b4e17f7af217a182139e31508a4f2881d57a 100644
(file)
--- a/
src/lib/krb5/ccache/cc_file.c
+++ b/
src/lib/krb5/ccache/cc_file.c
@@
-427,7
+427,6
@@
krb5_fcc_read(krb5_context context, krb5_ccache id, krb5_pointer buf, unsigned i
assert(data->cur_offset > 0);
assert(data->cur_offset <= data->valid_bytes);
len -= ncopied;
- assert(len >= 0);
/* Don't do arithmetic on void pointers. */
buf = (char*)buf + ncopied;
}