Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The functions xmlrpc_errno
and xmlrpc_error_msg
don't check for a NULL error object to be returned. This will throw warnings when run.
The attached patch wraps the return with a check for NULL.
Comment | File | Size | Author |
---|---|---|---|
xmlrpc_get_error.patch | 677 bytes | boombatower | |
Comments
Comment #1
Dries CreditAttribution: Dries commentedI've committed this patch to both DRUPAL-6 and CVS HEAD. It seems to fix some Simpletests exceptions.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.