]> git.michaelhowe.org Git - packages/o/openafs.git/commit
tests: avoid passing NULL strings to vprintf
authorMichael Meffie <mmeffie@sinenomine.net>
Mon, 22 Aug 2016 23:53:34 +0000 (19:53 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 5 Oct 2016 12:24:01 +0000 (08:24 -0400)
commit1566fd6b8ec9dc95f7f323cdda0a200a478260f9
tree4e1348f3742d4ce8cc43f39b1ccee9581c4353ac
parent3dfcfb8992df17da33cc7315e0ac7da1731b2a6f
tests: avoid passing NULL strings to vprintf

Some libc implementations will crash when NULL string arguments are given to
*printf.  Avoid passing NULL string arguments in the make check tests that did
so, and pass the string "(null)" instead.

Reviewed-on: https://gerrit.openafs.org/12377
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit 2fe3a28c6ec0ff9d19ddec5500b3a5e69b483210)

Change-Id: Id8f1635444b5b49e3250addf36b64fccafd59941
Reviewed-on: https://gerrit.openafs.org/12396
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
tests/util/exec-alt-t.c