Cause: The DNS stub resolver in glibc did not check for a failure to allocate name server data.
Consequence: If the allocation failed, the process would crash due to a null pointer dereference.
Fix: The stub resolver now checks for failures when allocating name server data.
Result: The allocation error is reported to the caller, leading to a name resolution failure, but no process crash.
This was reported upstream as a reliability issue. Fix:
commit f178e59fa5eefbbd37fde040ae8334aa5c857ee1
Author: Andreas Schwab <schwab>
Date: Tue Mar 27 12:16:11 2018 +0200
Fix crash in resolver on memory allocation failure (bug 23005)
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2018:3092
This was reported upstream as a reliability issue. Fix: commit f178e59fa5eefbbd37fde040ae8334aa5c857ee1 Author: Andreas Schwab <schwab> Date: Tue Mar 27 12:16:11 2018 +0200 Fix crash in resolver on memory allocation failure (bug 23005)