CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2015/10/15 21:17:56

Modified files:
        bin/ksh        : alloc.c 

Log message:
Add allocarray(), an overflow-safe allocation function.

We avoided reallocation support because it demands more fancy footwork
to deal with the prepended link struct.

This has been on my mind for a while, and a 2010 security review of mksh
by the Android security team's Chris Palmer suggested it.

ok nicm@. Also discussed with millert@ and tedu@.

Reply via email to