This fixes: CVE-2014-3158 and some other bugs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42525
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 41193
SVN-Revision: 33688