Amazon managed to crash my tests again, by listing buckets that were created by ec2-upload-bundle. Let's stub a couple more places for now. --- lib/hstor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 69a23e09c3cd5ee41005b682d0472a5ccaa14d7d Author: Pete Zaitcev <zaitcev@xxxxxxxxx> Date: Sun Dec 5 20:38:50 2010 -0700 Stub crash on list. diff --git a/lib/hstor.c b/lib/hstor.c index 2892a5e..3f6c801 100644 --- a/lib/hstor.c +++ b/lib/hstor.c @@ -969,12 +969,12 @@ struct hstor_keylist *hstor_keys(struct hstor_client *hstor, const char *bucket, } else if (!_strcmp(node->name, "Marker")) { xs = xmlNodeListGetString(doc, node->children, 1); - keylist->marker = strdup((char *)xs); + keylist->marker = strdup(xs? (char *)xs: ""); xmlFree(xs); } else if (!_strcmp(node->name, "Delimiter")) { xs = xmlNodeListGetString(doc, node->children, 1); - keylist->delim = strdup((char *)xs); + keylist->delim = strdup(xs? (char *)xs: ""); xmlFree(xs); } else if (!_strcmp(node->name, "MaxKeys")) { -- To unsubscribe from this list: send the line "unsubscribe hail-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html