]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix insanely large stack_allocation in log_credential_status
authorNick Mathewson <nickm@torproject.org>
Fri, 1 Jul 2011 16:36:33 +0000 (12:36 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 1 Jul 2011 16:38:05 +0000 (12:38 -0400)
commitd25feadebbf05d6fce55cfee1e3c8f928903f543
treee3c4342442c9014e70c5874eb340c6a0cb133beb
parent010b8dd4f6e8e3c3d2e44ff589ff61cbf64b952a
Fix insanely large stack_allocation in log_credential_status

I'm not one to insist on C's miserly stack limits, but allocating a
256K array on the stack is too much even for me.

Bugfix on 0.2.1.7-alpha.  Found by coverity.  Fixes CID # 450.
changes/cid_450 [new file with mode: 0644]
src/common/compat.c