(do_authenticate): check return value from unparse_auth_args
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15359 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -413,9 +413,9 @@ do_authenticate (struct rx_header *hdr,
|
||||
|
||||
krb5_data_zero (&request);
|
||||
|
||||
unparse_auth_args (sp, &name, &instance, &start_time, &end_time,
|
||||
&request, &max_seq_len);
|
||||
if (request.length < 8) {
|
||||
ret = unparse_auth_args (sp, &name, &instance, &start_time, &end_time,
|
||||
&request, &max_seq_len);
|
||||
if (ret != 0 || request.length < 8) {
|
||||
make_error_reply (hdr, KABADREQUEST, reply);
|
||||
goto out;
|
||||
}
|
||||
|
Reference in New Issue
Block a user