mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-03-06 00:40:38 +01:00

There's a new "-Werror=format-overflow" warning in gcc 8 that detects potential overflow or truncation with sprintf/snprintf, so the test-runner build fails with gcc 8. Using l_strdup_printf allows the build to succeed, and moves a few large buffers from the stack to the heap.