diff options
author | Daniel Pinto <danielpinto52@gmail.com> | 2018-04-17 01:31:49 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-08-08 09:21:29 -0400 |
commit | a350f216b30c5841b8eb0303c9c3fd32a2b2245b (patch) | |
tree | 05d8210d6a9431b57c000f3cfb0f8b42b2042cbd /configure.ac | |
parent | 42c6ebda1626371cc6b0fff0cc0710b841936bef (diff) | |
download | tor-a350f216b30c5841b8eb0303c9c3fd32a2b2245b.tar.gz tor-a350f216b30c5841b8eb0303c9c3fd32a2b2245b.zip |
Fix crash when calling openat with sandbox enabled #25440
The seccomp rule for the openat syscall checks for the AT_FDCWD
constant. Because this constant is usually a negative value, a
cast to unsigned int is necessary to make sure it does not get
converted to uint64_t used by seccomp.
More info on:
https://github.com/seccomp/libseccomp/issues/69#issuecomment-273805980
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions