Created attachment 969627 [details]
Haven't found any prior patch, so I just decided to pass "Unknown error" when error is NULL.
Created attachment 969629 [details]
I have no idea how to reproduce this, but patch looks good, it should solve this problem (xstrdup won't get NULL).
There was no problem in regression testing.
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.