Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 59905 | Differences between
and this patch

Collapse All | Expand All

(-)linux-2.4/fs/proc/base.c (-1 / +1 lines)
Lines 187-193 static int proc_pid_cmdline(struct task_ Link Here
187
	if (mm)
187
	if (mm)
188
		atomic_inc(&mm->mm_users);
188
		atomic_inc(&mm->mm_users);
189
	task_unlock(task);
189
	task_unlock(task);
190
	if (mm) {
190
	if (mm && mm->arg_end) {
191
		int len = mm->arg_end - mm->arg_start;
191
		int len = mm->arg_end - mm->arg_start;
192
		if (len > PAGE_SIZE)
192
		if (len > PAGE_SIZE)
193
			len = PAGE_SIZE;
193
			len = PAGE_SIZE;

Return to bug 59905