PIPE_FIRST_PIPE_INSTANCE and sample server code

From: Garfield Lewis (galewis_at_SPAM-NO-MOREca.ibm.com)
Date: 10/08/03

Date: Wed, 8 Oct 2003 09:25:31 -0400


I've got a copy of you "Writing Secure Code" book and in it you suggest that
we should always create our named pipes with the PIPE_FIRST_PIPE_INSTANCE
option. However, the multi-threaded pipe server sample code at the link
below fails on all requests following the initial request. Can anyone
suggest a way of making this work without removing the option above or are
we stuck with the less secure version of this code?


Garfield A. Lewis
DB2 UDB Development,
IBM Canada Laboratory