be the size of the returned string, instead of something bigger than
the returned string.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11314
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Mar 25 22:41:30 1999 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * disp_major_status.c (display_unknown): Fix the length of the
+ buffer to be the size of the returned string, instead of
+ something bigger than the returned string.
+
1999-02-19 Theodore Ts'o <tytso@rsts-11.mit.edu>
* Makefile.in (DLL_FILE_DEF): Tell the Makefile template that we
sprintf(str, unknown_error, kind, value);
- buffer->length = len;
+ buffer->length = strlen(str);
buffer->value = str;
return(1);