diff options
author | Michael Goulish <mgoulish@apache.org> | 2011-10-13 21:50:56 +0000 |
---|---|---|
committer | Michael Goulish <mgoulish@apache.org> | 2011-10-13 21:50:56 +0000 |
commit | 085cdb1910ded5e6fcf9b56da595e9f4609f95b8 (patch) | |
tree | d5f3fe8db62d2f445d299f9bc860f18a435b4d71 /cpp/src/tests/QueueTest.cpp | |
parent | 000c76f5ca5fce5f6c1e7bc434b1d35a3eadd8dc (diff) | |
download | qpid-python-085cdb1910ded5e6fcf9b56da595e9f4609f95b8.tar.gz |
QPID-3528
sasl_set_path() does no check on the given directory, so when you get bad behavior
later it can be hard to track down. Especially bad is its policy of defaulting to
an alternate standard location if yours fails. That's a potential security bug.
So this patch checks that your dir exists, and is readable, before calling
sasl_set_path(). Either you get the sasl config dir you were expecting,
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183121 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/QueueTest.cpp')
0 files changed, 0 insertions, 0 deletions