fuse-google-drive icon indicating copy to clipboard operation
fuse-google-drive copied to clipboard

segfault during xml parsing

Open dov opened this issue 12 years ago • 1 comments

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.

dov avatar Jun 13 '12 21:06 dov

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.

jcline avatar Jun 20 '12 02:06 jcline