This code is there not for performance
This code is there not for performance
Posted Feb 12, 2008 12:44 UTC (Tue) by mjthayer (guest, #39183)In reply to: This code is there not for performance by khim
Parent article: vmsplice(): the making of a local root exploit
Perhaps I misunderstood here, but I think that the original poster was saying something else - not that you do not do all these things (strange arithmetic and suchlike), but that you keep the code in one place (i.e. a set of macros) instead of duplicating it in lots of places. Not that it would have helped much here, since the problem was a failure to validate user input.