[738] in Kerberos-V5-bugs
test/asn1 bugs (BETA 4 release)
daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Mon Sep 12 22:50:21 1994
From: epeisach@MIT.EDU
Date: Mon, 12 Sep 1994 22:50:13 -0400
To: krb5-bugs@MIT.EDU
The makefile needs some changes, but you also have some problems with
the files:
a) krb5_decode_test - decode_krb5_authdata assumes that it's argument
is initialized for parsing... (I was getting a coredump)
b) krb5_encode_test - isode is no more....
*** 1.1 1994/09/13 02:45:32
--- krb5_decode_test.c 1994/09/13 02:47:28
***************
*** 333,338 ****
--- 333,342 ----
com_err("parsing authorization_data",retval,"");
exit(1);
}
+
+ /* Because the decode does not zero */
+ var = (krb5_authdata **) 0;
+
retval = decode_krb5_authdata(&code,&var);
if(retval) com_err("decoding authorization_data",retval,"");
assert(ktest_equal_authorization_data(ref,var),"authorization_data\n")
*** 1.1 1994/09/13 02:07:56
--- krb5_encode_test.c 1994/09/13 02:09:43
***************
*** 5,11 ****
#include "utility.h"
#define initialize_error_tables()\
! initialize_isod_error_table();\
initialize_krb5_error_table();
#include "krb5_encode_test_body.c"
--- 5,11 ----
#include "utility.h"
#define initialize_error_tables()\
! initialize_asn1_error_table();\
initialize_krb5_error_table();
#include "krb5_encode_test_body.c"