mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-04-05 20:27:50 +02: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.