check for NULL pointers before calling setenv()
Latest glibc release actually honours calling setenv with a NULL
pointer by causing SIGSEGV but checking pointers before submitting
to any system function is a good idea anyway.
Signed-off-by:
Robert Schiele <rschiele@gmail.com>
Showing
Please
register
or
sign in
to comment