]> err.no Git - dpkg/commit
Dpkg::IPC: Add a sanitiy_check for options of fork_and_exec
authorFrank Lichtenheld <djpig@debian.org>
Fri, 15 Feb 2008 21:58:26 +0000 (22:58 +0100)
committerFrank Lichtenheld <djpig@debian.org>
Fri, 15 Feb 2008 21:58:26 +0000 (22:58 +0100)
commit8809ecced7e0972959891426fb2a9fbf893d3a74
tree473270ae0d3702fb94e9ceb4bccd626812f28441
parent6b5953225cb7fc58efb1c3bb249c757cfd29277c
Dpkg::IPC: Add a sanitiy_check for options of fork_and_exec

* scripts/Dpkg/IPC.pm (_sanity_check_opts): Check for some
probable errors in options.
(fork_and_exec): Apply _sanity_check_opts to the options to
catch some errors that might go unnoticed otherwise and to
error out early for some other errors.
scripts/Dpkg/IPC.pm