summaryrefslogtreecommitdiffstats
path: root/mpi/mpi-config.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-06-12 07:07:20 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-06-12 07:07:20 -0700
commit9a0c814951a25444aca4f6f3e641f7f64fe81206 (patch)
treee91da47c1ec93d9faa88054170812c8f104f664f /mpi/mpi-config.h
parent67ff94abefc891a62f7b190b18a6bcfb1afb3c2d (diff)
downloadtxr-9a0c814951a25444aca4f6f3e641f7f64fe81206.tar.gz
txr-9a0c814951a25444aca4f6f3e641f7f64fe81206.tar.bz2
txr-9a0c814951a25444aca4f6f3e641f7f64fe81206.zip
streams: add overflow checks.
* stream.c (open_process): Check that manipulations of nargs do not overflow int type. Use chk_xalloc. Allocation is done before pipe so we have no file descriptors to clean up if chk_xalloc throws. (run): In both versions of run, check that manipulations of nargs don't overflow int and use chk_xalloc.
Diffstat (limited to 'mpi/mpi-config.h')
0 files changed, 0 insertions, 0 deletions