simplify FD_SET/FD_ISSET undefined behavior workarounds for darwin
static analyzer (stack): remove redundant null pointer checks and add missing checks for EOF when parsing XML strings
static analyzer (stack): replace erroneous check for null pointer with correct check for null status code
static analyzer (stack): replace erroneous check for null pointer to a pointer with correct check for null pointer