Erik Habbinga <erikhabbinga@inphase-tech.com>
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Mon, 4 Dec 2006 11:08:18 +0000 (11:08 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Mon, 4 Dec 2006 11:08:18 +0000 (11:08 +0000)
commit0330335c8e2688e5a691a6c1b613af8769f45e2a
treedf2b7978d6262ae3da9d9717a9fd39f3a85a1e21
parent4a3d698ec2b81bdc80e86a5a8340c9a1322d0b82
Erik Habbinga <erikhabbinga@inphase-tech.com>

I've seen a case where TRACE_BUFFER is called with a NULL buffer pointer.  This patch adds a check to debug_print_buffer in
scst_debug.c to avoid dereferencing any incoming NULL pointers.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@43 d57e44dd-8a1f-0410-8b47-8ef2f437770f
scst/include/scst_debug.c