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

Collapse All | Expand All

(-)common/dcddks.c (-4 / +4 lines)
Lines 572-582 Link Here
572
						  int size)
572
						  int size)
573
{
573
{
574
	int result;
574
	int result;
575
	result = verify_area(
575
	result = (access_ok(
576
		VERIFY_WRITE, 
576
		VERIFY_WRITE, 
577
		arg, 
577
		arg, 
578
		size
578
		size
579
		);
579
		) ? 0 : -EFAULT);
580
	return result;
580
	return result;
581
} // esm_verify_area_write
581
} // esm_verify_area_write
582
582
Lines 589-599 Link Here
589
					int size)
589
					int size)
590
{
590
{
591
	int result;
591
	int result;
592
	result = verify_area(
592
	result = (access_ok(
593
		cmd_in, 
593
		cmd_in, 
594
		arg, 
594
		arg, 
595
		size
595
		size
596
		);
596
		) ? 0 : -EFAULT);
597
	return result;
597
	return result;
598
} // esm_verify_area
598
} // esm_verify_area
599
599

Return to bug 113235