Michel Lespinassebinary_sysctl(): fix memory leak3d3c8f914 years agoHistory
1519 lines · 51.5 KB · C
RawDownload
	if (compat_oldlenp && get_user(oldlen, compat_oldlenp))		return -EFAULT; 	result = do_sysctl(compat_ptr(tmp.name), tmp.nlen,			   compat_ptr(tmp.oldval), oldlen,			   compat_ptr(tmp.newval), tmp.newlen); 	if (result >= 0) {		oldlen = result;		result = 0;	} 	if (compat_oldlenp && put_user(oldlen, compat_oldlenp))		return -EFAULT; 	return result;} #endif /* CONFIG_COMPAT */

Lines 1501–1519 of 1519. Previous lines

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t