CI: GitHub is updating Ubuntu runners (#1817)

GitHub is moving `ubuntu-latest` to `ubuntu-22.04`: update our
dependencies.
See: https://github.blog/changelog/2022-11-09-github-actions-ubuntu-latest-workflows-will-use-ubuntu-22-04/

This is the reason of the recent random failures in CI.

Update "newest" tested gcc to gcc-12.

Fix a memory error introduced in 557bbcfc5a
This commit is contained in:
Ivan Nardi
2022-12-03 18:29:44 +01:00
committed by GitHub
parent 81e1ea545c
commit b9f63458e6
3 changed files with 30 additions and 28 deletions
+1 -1
View File
@@ -6862,7 +6862,7 @@ void ndpi_parse_single_packet_line(struct ndpi_detection_module_struct *ndpi_str
line i slike "GET /....
*/
if(strchr((char*)packet->line[0].ptr, ':') == NULL)
if(memchr((char*)packet->line[0].ptr, ':', packet->line[0].len) == NULL)
return;
}