diff options
author | Mukund Sivaraman <muks@banu.com> | 2008-07-14 17:13:06 +0530 |
---|---|---|
committer | Mukund Sivaraman <muks@banu.com> | 2008-07-14 17:13:06 +0530 |
commit | 7e5ac7c58a7a301d9c6d65bbc2c3632fc0fba5ed (patch) | |
tree | 91eb83170b3795cdec89750fb81cb46884ad0f8f /src/tinyproxy.c | |
parent | 7bdd47d030d4cc27e319edf6030e161f25e1a299 (diff) | |
download | tinyproxy-7e5ac7c58a7a301d9c6d65bbc2c3632fc0fba5ed.tar.gz tinyproxy-7e5ac7c58a7a301d9c6d65bbc2c3632fc0fba5ed.zip |
Fix a regression where empty error variables caused strlen() to crash
This fixes a regression (bug #16) introduced in
95c1f39f6039dc82346f3e024e86a23b7103a0a6, where a NULL check was
removed. This caused NULL error variable values to be sent to
add_error_variable() in which strlen() segfaulted.
With this fix, custom stats pages should be displayed properly.
X-Banu-Bugzilla-Ids: 16
Diffstat (limited to 'src/tinyproxy.c')
0 files changed, 0 insertions, 0 deletions