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