mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-21 20:40:42 +01:00

This dumper probably intended to update pos after invoking strncpy. However, strncpy returns the number of bytes that *would* have been copied and so the logic gets a bit complex to get completely right. Instead, switch to using l_string since this is inside the monitor and not particularly performance critical.