Skip to content

Commit

Permalink
don't use strlcat
Browse files Browse the repository at this point in the history
  • Loading branch information
scareything committed Jul 19, 2023
1 parent 3cb0d1a commit e1e8a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ziti-tunnel-cbs/ziti_tunnel_ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ static int ziti_dump_to_log_op(void *ctx, const char *fmt, ...) {
}
buffer->sz += sizeof(line);
}
strlcat(buffer->str, line, buffer->sz);
strcat(buffer->str, line);
return 0;
}

Expand Down

0 comments on commit e1e8a37

Please sign in to comment.