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.

Files: 
CommentFileSizeAuthor
xmlrpc_get_error.patch677 bytesboombatower

Comments

Dries’s picture

Status: Needs review » Fixed

I've committed this patch to both DRUPAL-6 and CVS HEAD. It seems to fix some Simpletests exceptions.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.