On Tue, 23 Jul 2019 13:25:37 +0200 Jiri Pirko <j...@resnulli.us> wrote:
> From: Jiri Pirko <j...@mellanox.com> > > One cannot depend on *argv being null in case of no arg is left on the > command line. For example in batch mode, this is not always true. Check > argc instead to prevent crash. > > Reported-by: Alex Kushnarov <alexand...@mellanox.com> > Fixes: fd8b3d2c1b9b ("actions: Add support for user cookies") > Signed-off-by: Jiri Pirko <j...@mellanox.com> Actually makeargs does NULL terminate the last arg so what input to batchmode is breaking this?