bx509d: don't audit NULL message string
formatted can be NULL, it appeares the intention was to log msg instead
This commit is contained in:
		| @@ -511,7 +511,7 @@ bad_reqv(struct bx509_request_desc *r, | |||||||
|         msg = formatted; |         msg = formatted; | ||||||
|         formatted = NULL; |         formatted = NULL; | ||||||
|     } |     } | ||||||
|     heim_audit_addreason((heim_svc_req_desc)r, "%s", formatted); |     heim_audit_addreason((heim_svc_req_desc)r, "%s", msg); | ||||||
|     audit_trail(r, code); |     audit_trail(r, code); | ||||||
|     krb5_free_error_message(context, k5msg); |     krb5_free_error_message(context, k5msg); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Luke Howard
					Luke Howard