[PATCH] NCPFS memleak fix
Patch from Petr Vandrovec <vandrove@vc.cvut.cz> Reported by Oleg Drokin. In NCP_IOC_SETOBJECTNAME handler, we allocated space (newname pointer), copy stuff from userspace to there and then assign userspace pointer to our internal structure, whoops!
Showing
Please register or sign in to comment