svn rev #22796: branches/krb5-1-7/src/lib/kadm5/srv/
tlyu@MIT.EDU
tlyu at MIT.EDU
Mon Sep 28 16:27:13 EDT 2009
http://mv.ezproxy.com.ezproxyberklee.flo.org/fisheye/changelog/krb5/?cs=22796
Commit By: tlyu
Log Message:
ticket: 6508
version_fixed: 1.7.1
status: resolved
pull up r22402 from trunk
------------------------------------------------------------------------
r22402 | epeisach | 2009-06-05 23:55:44 -0400 (Fri, 05 Jun 2009) | 7 lines
ticket: 6508
subject: kadm5int_acl_parse_restrictions could ref uninitialized variable
The variable sp is never initialized. If the first argument to the
function is null, the code falls through to freeing sp if valid.
However, sp is never set.
Changed Files:
U branches/krb5-1-7/src/lib/kadm5/srv/server_acl.c
Modified: branches/krb5-1-7/src/lib/kadm5/srv/server_acl.c
===================================================================
--- branches/krb5-1-7/src/lib/kadm5/srv/server_acl.c 2009-09-28 20:27:10 UTC (rev 22795)
+++ branches/krb5-1-7/src/lib/kadm5/srv/server_acl.c 2009-09-28 20:27:13 UTC (rev 22796)
@@ -278,7 +278,7 @@
char *s;
restriction_t **rpp;
{
- char *sp, *tp, *ap;
+ char *sp = NULL, *tp, *ap;
static const char *delims = "\t\n\f\v\r ,";
krb5_deltat dt;
krb5_flags flag;
More information about the cvs-krb5
mailing list