Comment 12 for bug 1806269

Revision history for this message
In , bewied (benwiederhake-github) wrote :

Cause: Apparently it's perfectly okay if the list of modules is empty
(e.g., NULL). However, the code assume that this indicates an error,
tries to print the NULL error, and crashes.
Checking for NULL before printing it fixes the issue.

I'm not sure though whether an empty modules list is okay or not.

See attached patch which implements this. It applies cleanly to current master.