On 1/12/23 11:05, Johannes Berg wrote:
On Mon, 2023-01-02 at 12:12 +0100, Raphaël Mélotte wrote: This is odd now - if you have &end you should check that strtoul() actually consumed all the input etc.? Otherwise might as well just use atoi(), but I'd prefer with the checks.
Indeed..
maybe add that before the argv/argc (and maybe break line in there) - first I got concerned if argv/argc was used in that nla_put_u32().
Okay, I'll do that in a v3. Thanks! Raphaël