Commit by hyperbolic2346
https://github.com/hyperbolic2346/motion/commit/90b81c05baba3f4d6b33302d72eeb44f5532311d
Some bug fixing related to vulnerabilities listed here:
http://packetstormsecurity.com/files/122171/Motion-3.2.12-XSS-CSRF-Buffer-Overflow-SQL-Injection.html
Buffer overflow issue