[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#321718: Upgrade caused many libs to complain about "executable stack"



On Thu, Aug 18, 2005 at 08:59:17PM +0900, GOTO Masanori wrote:
> 	-	  if (errno != ENOMEM)	/* Unexpected failure mode.  */
> 	+	  if (errno != (ENOMEM | EFAULT))	/* Unexpected failure mode.  */

I don't think errno will ever have the value of (ENOMEM | EFAULT).
Should probably be

		if (errno != ENOMEM && errno != EFAULT)




Reply to: