+2001-11-07 Ezra Peisach <epeisach@mit.edu>
+
+ * gss-misc.c (recv_token): Do not attempt to malloc 0 bytes.
+
2001-11-01 Sam Hartman <hartmans@mit.edu>
- * gss-server.c gss-client.c: ONly free buffers returned from
+ * gss-server.c gss-client.c: Only free buffers returned from
GSSAPI using gss_release_buffer
* gss-client.c (client_establish_context): Trailing null should
}
tok->length = ntohl(tok->length);
- tok->value = (char *) malloc(tok->length);
+ tok->value = (char *) malloc(tok->length ? tok->length : 1);
if (tok->length && tok->value == NULL) {
if (display_file)
fprintf(display_file,