git9
git9 copied to clipboard
Add null pointer checks for strdup
strdup
may return null pointer on allocation failures.
I added null pointer checks to calls to strdup
that were not checked.