diff options
author | Swen Schillig <swen@linux.ibm.com> | 2020-01-22 11:28:28 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2020-02-28 03:08:46 +0000 |
commit | 3b95125187c76945210a679b7ea2dc3b8ae7f778 (patch) | |
tree | 010bea5f8e5204898300b1809630e5ceccf68d1d /testprogs | |
parent | 535debb312b8dc5a9de6b6fe2543af84e9534a23 (diff) | |
download | samba-3b95125187c76945210a679b7ea2dc3b8ae7f778.tar.gz |
prevent NULL reference from being used as '%s' argument.
The two string arguments to torture_comment() can be NULL
as the succeeding checks suggest. This is not wanted because a compile
with --enable-developer throws an error of [-Werror=format-overflow=]
in those situations.
Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'testprogs')
0 files changed, 0 insertions, 0 deletions