int.parse: avoid passing NULL to atoi
Currently, int.parse
just passes its argument to atoi()
. A check for NULL should be added, as some C library implementations do not handle atoi(NULL)
gracefully.
Currently, int.parse
just passes its argument to atoi()
. A check for NULL should be added, as some C library implementations do not handle atoi(NULL)
gracefully.