bug in libdrqueue/communications.c
|Assignee:||Andreas Schröder||% Done:|
The line 190 of libdrqueue/communications.c, function connect_to_master is like this:
addr.sin_addr = *(struct in_addr *) hostinfo->h_addr;
I have an example execution where hostinfo->h_addr is null, and can't be dereferenced, while hostinfo itself is not null. I suggest changing line 185 to check not only if hostinfo is null but also if hostinfo->h_addr is null.
I reproduced this bug with 0.64.x but the bug is also present in trunk.