Skip to content

Commit

Permalink
Document the StripControls fix
Browse files Browse the repository at this point in the history
Co-authored-by: Dethrace Engineering Department <78985374+dethrace-labs@users.noreply.github.com>
  • Loading branch information
madebr and dethrace-labs authored Jan 16, 2024
1 parent 9dfae83 commit a728b30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DETHRACE/common/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,7 @@ void StripControls(unsigned char* pStr) {
memmove(&pStr[i], &pStr[i + 1], (len - i) * sizeof(char));
len--;
#ifdef DETHRACE_FIX_BUGS
// correctly handle stripping multiple control characters
i--;
#endif
}
Expand Down

0 comments on commit a728b30

Please sign in to comment.