David, you're right.

I didn't apply the patch as uploaded, I made this change:

-        name = malloc(sizeof(char) * size);
+       char *name = malloc(sizeof(char) * size);

Otherwise, it wouldn't compile.

-- 
Simple scan crashes with "buffer overflow detected"
https://bugs.launchpad.net/bugs/572246
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to