From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49BFEEE4.6020204@domain.hid> Date: Tue, 17 Mar 2009 19:41:40 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <49BFED6E.4090009@domain.hid> In-Reply-To: <49BFED6E.4090009@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] [PATCH] posix: Fix error checks when copying user strings List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: xenomai-core Jan Kiszka wrote: > Obviously a conversion error while switching to __xn_safe*. > > Signed-off-by: Jan Kiszka Well, I have just checked the kernel code, and 0 as a return value of strncpy_from_user is treated as a value in most places, even if not -EFAULT. -- Gilles.