commit | e8a0b07543646713a7a8397274b0d4432a75b5d9 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Tue Nov 01 20:39:21 2016 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Tue Nov 01 20:39:21 2016 +0300 |
tree | 07fe4345f3658a01d444efe0f4a52047cbd99636 | |
parent | 033506bedf832ad74f0c3cb6b76877478bf64b00 [diff] |
Perl: fixed optimization in SSI command handler. As the pointer to the first argument was tested instead of the argument itself, array of arguments was always created, even if there were no arguments. Fix is to test args[0] instead of args. Found by Coverity (CID 1356862).