(xmlrpc/main.c) Fix out-of-bounds access issue