]> git.ipfire.org Git - thirdparty/tor.git/commit
Drop 'fr' parameter from sandbox code.
authorNick Mathewson <nickm@torproject.org>
Fri, 11 Apr 2014 07:04:16 +0000 (03:04 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 17 Apr 2014 02:03:08 +0000 (22:03 -0400)
commit71eaebd971f4d42b26fb6b85780163bbc0111aae
tree1317d11e45a5a7a10d107b9a993686612f3e625c
parente051e192a8b199c20ece2a4205c9642a4a0cee22
Drop 'fr' parameter from sandbox code.

Appearently, the majority of the filenames we pass to
sandbox_cfg_allow() functions are "freeable right after". So, consider
_all_ of them safe-to-steal, and add a tor_strdup() in the few cases
that aren't.

(Maybe buggy; revise when I can test.)
src/common/sandbox.c
src/common/sandbox.h
src/or/main.c