View | Details | Raw Unified | Return to bug 19004
Collapse All | Expand All

(-)linux-3.10.0-327.10.1.el7.x86_64/kernel/futex_compat.c.orig (-1 / +1 lines)
Lines 80-86 void compat_exit_robust_list(struct task Link Here
80
		return;
80
		return;
81
81
82
	next_entry = NULL;	/* avoid warning with gcc */
82
	next_entry = NULL;	/* avoid warning with gcc */
83
	while (entry != (struct robust_list __user *) &head->list) {
83
	while (entry && entry != (struct robust_list __user *) &head->list) {
84
		/*
84
		/*
85
		 * Fetch the next entry in the list before calling
85
		 * Fetch the next entry in the list before calling
86
		 * handle_futex_death:
86
		 * handle_futex_death:
(-)linux-3.10.0-327.10.1.el7.x86_64/kernel/futex.c.orig (-1 / +1 lines)
Lines 2879-2885 void exit_robust_list(struct task_struct Link Here
2879
		return;
2879
		return;
2880
2880
2881
	next_entry = NULL;	/* avoid warning with gcc */
2881
	next_entry = NULL;	/* avoid warning with gcc */
2882
	while (entry != &head->list) {
2882
	while (entry && entry != &head->list) {
2883
		/*
2883
		/*
2884
		 * Fetch the next entry in the list before calling
2884
		 * Fetch the next entry in the list before calling
2885
		 * handle_futex_death:
2885
		 * handle_futex_death:

Return to bug 19004