svn rev #22274: trunk/src/lib/krb5/ccache/
ghudson@MIT.EDU
ghudson at MIT.EDU
Thu Apr 23 10:52:26 EDT 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=22274
Commit By: ghudson
Log Message:
In krb5_fcc_read, remove an assert which could never trigger (because
len is unsigned and cannot be less than zero).
Changed Files:
U trunk/src/lib/krb5/ccache/cc_file.c
Modified: trunk/src/lib/krb5/ccache/cc_file.c
===================================================================
--- trunk/src/lib/krb5/ccache/cc_file.c 2009-04-23 14:50:06 UTC (rev 22273)
+++ trunk/src/lib/krb5/ccache/cc_file.c 2009-04-23 14:52:25 UTC (rev 22274)
@@ -427,7 +427,6 @@
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;
}
More information about the cvs-krb5
mailing list