diff options
author | tb <> | 2017-06-10 18:14:10 +0000 |
---|---|---|
committer | tb <> | 2017-06-10 18:14:10 +0000 |
commit | 4105b31ec18aeafd989f2e985c5e06a5210f2a7f (patch) | |
tree | fde10ac3ceb247983bb8cd5f8bab7f2f6eb8e57f /src/lib | |
parent | 4ccef0e2741b5a4342f9c68da81ee0044aec425a (diff) | |
download | openbsd-4105b31ec18aeafd989f2e985c5e06a5210f2a7f.tar.gz openbsd-4105b31ec18aeafd989f2e985c5e06a5210f2a7f.tar.bz2 openbsd-4105b31ec18aeafd989f2e985c5e06a5210f2a7f.zip |
If -P and -c were given, a second pledge call tried to add "rpath" to the
first pledge promises, so nc exited with EPERM. To fix this, merge the
pledge of the Pflag && usetls case into the first pledge block. This
allows us to get rid of the second pledge block and thus to simplify the
logic a bit. While there, add a missing blank to an error string.
Joint effort by the #openbsd-daily code reading group, problem found and
initial patch by <rain1 openmailbox org>.
ok awolk
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions