there is a potential bug of null pointer dereference,in file hiredis.c,line 1045,c loaded return value of function redisContextInit,which can be null,and deference of potential null pointer in file hiredis.c,line 1046,as we can see bellow.
Except in this case,there are several function has similar utilization of function redisContextInit, like function redisConnectUnix inline 1037,function redisConnectUnixNonBlock in line 1051,function redisConnectNonBlock in line 1030,function redisConnectWithTimeout in line 1023,function redisConnect in line 1016.
Would you help to check whether this is a true bug? Thanks very much.