Date: | Sat, 7 Oct 2006 11:03:22 -0400 (EDT) |
From: | Jose Nazario <jose@monkey.org> |
To: | kfw-bugs@mit.edu |
Subject: | bug in kfw-3.0.0 krb4 code |
minor bug, but it's worth noting. looks like it should be a comparison,
not an assignment.
--- src/athena/auth/krb4/krbv4/com_err/ecompile/ecompile.c.orig Sat Oct 7 10:59:43 2006
+++ src/athena/auth/krb4/krbv4/com_err/ecompile/ecompile.c Sat Oct 7 10:59:54 2006
@@ -448,7 +448,7 @@
}
break;
case S_ERRORCODESTRING:
- if (quotestate = FALSE)
+ if (quotestate == FALSE)
{
fprintf(stderr, "invalid string on line %d.\n", line);
exit(1);
not an assignment.
--- src/athena/auth/krb4/krbv4/com_err/ecompile/ecompile.c.orig Sat Oct 7 10:59:43 2006
+++ src/athena/auth/krb4/krbv4/com_err/ecompile/ecompile.c Sat Oct 7 10:59:54 2006
@@ -448,7 +448,7 @@
}
break;
case S_ERRORCODESTRING:
- if (quotestate = FALSE)
+ if (quotestate == FALSE)
{
fprintf(stderr, "invalid string on line %d.\n", line);
exit(1);
Show quoted text
________
jose nazario, ph.d. jose@monkey.org
http://monkey.org/~jose/ http://monkey.org/~jose/secnews.html
http://www.wormblog.com/
jose nazario, ph.d. jose@monkey.org
http://monkey.org/~jose/ http://monkey.org/~jose/secnews.html
http://www.wormblog.com/