[Bugme-janitors] [Bug 9579] Returning from a function with a pointer to a local variable on kernel/sysctl.c

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Sun Dec 16 07:14:56 PST 2007


http://bugzilla.kernel.org/show_bug.cgi?id=9579


oleg at tv-sign.ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oleg at tv-sign.ru




------- Comment #1 from oleg at tv-sign.ru  2007-12-16 07:14 -------
> (3) the local scope closes at line 1274 but the pointer relation
>     persists after the function returns

I think this doesn't matter, we are going to kfree() this ctl_table_header,
and it was removed from root_table_header.ctl_entry.

IOW, nobody should use p, not just p->unregistering. 


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Bugme-janitors mailing list