diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-06-12 07:07:20 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-06-12 07:07:20 -0700 |
commit | 9a0c814951a25444aca4f6f3e641f7f64fe81206 (patch) | |
tree | e91da47c1ec93d9faa88054170812c8f104f664f /mpi/mpi.h | |
parent | 67ff94abefc891a62f7b190b18a6bcfb1afb3c2d (diff) | |
download | txr-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.h')
0 files changed, 0 insertions, 0 deletions