Skip to content

Commit

Permalink
Stack
Browse files Browse the repository at this point in the history
- `response_time_index`: Fix https://github.com/DNS-OARC/dsc/security/code-scanning/22 label buffer should be static
  • Loading branch information
jelu committed Aug 29, 2024
1 parent 250babb commit b00cb11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/response_time_index.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ int response_time_indexer(const dns_message* m)

int response_time_iterator(const char** label)
{
char label_buf[128];
static char label_buf[128];

if (!label) {
next_iter = 0;
Expand Down

0 comments on commit b00cb11

Please sign in to comment.