regcomp.c: Avoid potential NULL ptr dereference
authorKarl Williamson <khw@cpan.org>
Fri, 19 Oct 2018 17:49:01 +0000 (11:49 -0600)
committerKarl Williamson <khw@cpan.org>
Sat, 20 Oct 2018 06:09:56 +0000 (00:09 -0600)
commitdeeb899527fafbf46c2ae732d30fbaedd79d1b84
tree76a701a2e3f6aa2a34bf458df28ef1e34d0a3284
parent4c8117d3827c12973c9516055b2dcef5138533b1
regcomp.c: Avoid potential NULL ptr dereference

This commit cause the passed in variable to be non-NULL before
dereferencing it, as defensive coding practice.  A future commit causes
this to matter.
regcomp.c