Skip to content

Commit

Permalink
11425 smserverd: NULL pointer errors
Browse files Browse the repository at this point in the history
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Approved by: Dan McDonald <danmcd@joyent.com>
  • Loading branch information
tsoome committed Jul 30, 2019
1 parent 09ece02 commit 14916c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usr/src/cmd/smserverd/myaudit.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ audit_init(door_data_t *door_dp)
door_dp->audit_event = 0;
door_dp->audit_sorf = -2;
door_dp->audit_user = NULL;
door_dp->audit_text[0] = NULL;
door_dp->audit_text1[0] = NULL;
door_dp->audit_text[0] = '\0';
door_dp->audit_text1[0] = '\0';
door_dp->audit_na = 0;
door_dp->audit_asid = (au_asid_t)(-1);
door_dp->audit_path = NULL;
Expand Down

0 comments on commit 14916c4

Please sign in to comment.