Thanks! 20 chars + NULL char is enough to crash the stack:

from back_linux.c (buffer contains line from /proc/modules)

char name[20];
int size;
int used;

/* Check to see if NVdriver/nvidia is loaded and if it is used.
/  For various versions the driver isn't initialized whe n X hasn't
/  been started and it can crash then.
*/
if(sscanf(buffer,"%s %d %d",&name, &size, &used) != 3) continue;
                        


** Changed in: nvclock (Ubuntu)
       Status: Confirmed => In Progress

-- 
Stack Smashing Prevents Use
https://launchpad.net/bugs/72117

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

Reply via email to