Add check for a NULL parameter to extract_address(), to prevent possible null pointer...