Secure Programming Cookbook for C and C++ by John Viega, Matt Messier The following corrections were made to the 12/03 reprint: Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem 19) 10th line from end of sample; #else if (setregid((permanent ? newuid : -1), newuid) == -1) abort(); #endif } NOW READS: #else if (setreuid((permanent ? newuid : -1), newuid) == -1) abort(); #endif } (149) Two references to Recipe 7.18 HAVE BEEN CHANGED and now refer to Recipe 7.17 (161 and 162) Two references to Recipe 9.13 HAVE BEEN CHANGED and now refer to Recipe 10.7 (220 and 221) Two references to Recipe 9.16 HAVE BEEN CHANGED and now refer to Recipe 9.12 (522) At the end of the "Problem" para, the comma HAS BEEN CORRECTED to a period.