fuse-google-drive
fuse-google-drive copied to clipboard
segfault during xml parsing
In gd_cache.c the following code crashed:
if(strcmp(name, "content") == 0)
{
value = xmlGetProp(c1, "src");
str_init_create(&entry->src, value, 0);
xmlFree(value);
}
because value==NULL. If it is a protocol error that value is empty then the code should exit with an error message.
That's rather interesting. My reading of the docs was that that shouldn't be something that should happen. I guess I need to look through them again.