]> git.ipfire.org Git - thirdparty/bacula.git/commit
Check if char **jobid parameter is NULL before to modify it in bvfs_parse_arg_version()
authorAlain Spineux <alain@baculasystems.com>
Fri, 19 Feb 2021 09:58:22 +0000 (10:58 +0100)
committerEric Bollengier <eric@baculasystems.com>
Fri, 30 Apr 2021 08:26:43 +0000 (10:26 +0200)
commita00ab807a3f4d5294330d822b9946b802b4740bc
tree6676c15ad568117e30964b59a929e40112d88e1e
parentd613121929e7d73e5b294b3dede6314b8fa4f3f7
Check if char **jobid parameter is NULL before to modify it in bvfs_parse_arg_version()

- it looks like the function can handle a NULL parameter, som lines above
  and below does the check, it looks right to do it everywhere before to
  modify jobid
bacula/src/dird/ua_dotcmds.c