diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2022-12-10 18:31:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-10 18:31:51 +0100 |
commit | 79931b2ec7dffc88df4cdd6855d7b1ec95cca20f (patch) | |
tree | 0c1cae111eae60fb7740dc74c0a3e0d07f51bca7 /src/lib/protocols/tls.c | |
parent | 9dc433f709c12e65c8e7c99e70029bb7af8e04ee (diff) |
Fix undefined-behavior when setting empty user-agent (#1821)
```
ndpi_main.c:9111:35: runtime error: null pointer passed as argument 2, which is declared to never be null
/usr/include/string.h:44:28: note: nonnull attribute specified here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ndpi_main.c:9111:35 in
```
Diffstat (limited to 'src/lib/protocols/tls.c')
0 files changed, 0 insertions, 0 deletions