XMLRPC doesn't check for NULL error object
boombatower - April 12, 2008 - 20:07
| Project: | Drupal |
| Version: | 7.x-dev |
| Component: | other |
| Category: | bug report |
| Priority: | normal |
| Assigned: | boombatower |
| Status: | closed |
Jump to:
Description
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.
| Attachment | Size |
|---|---|
| xmlrpc_get_error.patch | 677 bytes |

#1
I've committed this patch to both DRUPAL-6 and CVS HEAD. It seems to fix some Simpletests exceptions.
#2
Automatically closed -- issue fixed for two weeks with no activity.