Skip to content

Commit

Permalink
Merged Pull Request '#53 nightly-package-update->main : Updated packa…
Browse files Browse the repository at this point in the history
…ges.'

Updated packages.
  • Loading branch information
Automation51D authored Jun 19, 2024
2 parents 6df3682 + 3b6b33a commit 2f349da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dd/device-detection-cxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -14105,7 +14105,8 @@ static int constructPseudoEvidence(
}

// If this is a subsequent segment value then add the separator.
if (i != 0) {
// make sure that we don't cause heap overflow by overwriting the terminating \0 (at position max - 1)
if (i != 0 && current < max - 1) {
*current = PSEUDO_HEADER_SEP;
current++;
}
Expand Down

0 comments on commit 2f349da

Please sign in to comment.