Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
estringana committed Aug 5, 2024
1 parent a84bcf8 commit 7a5690c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appsec/src/extension/backtrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ bool php_backtrace_frame_to_datadog_backtrace_frame( // NOLINTNEXTLINE(bugprone-
}

// Remove tracer integration php code frames
if (strncmp(Z_STRVAL_P(function), LSTRARG("DDTrace")) == 0) {
if (strncmp(Z_STRVAL_P(function), "DDTrace", sizeof("DDTrace") - 1) == 0) {
return false;
}

Expand Down

0 comments on commit 7a5690c

Please sign in to comment.