Skip to content

Commit

Permalink
sec: don't pass user string to format print directly
Browse files Browse the repository at this point in the history
  • Loading branch information
hanatos committed Oct 5, 2024
1 parent 0b0cb70 commit 84e48df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/render_lighttable.c
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,7 @@ void render_lighttable_right_panel()
{
day[day_cnt][10] = 0;
strncpy(day[day_cnt], createdate, 10);
dt_sanitize_user_string(day[day_cnt]);
day_cnt++;
}
}
Expand Down

0 comments on commit 84e48df

Please sign in to comment.