execute_external_filter(): Don't rely on undefined malloc() behaviour
authorFabian Keil <fk@fabiankeil.de>
Wed, 12 Aug 2015 10:34:21 +0000 (10:34 +0000)
committerFabian Keil <fk@fabiankeil.de>
Wed, 12 Aug 2015 10:34:21 +0000 (10:34 +0000)
commit281fd7e5abaaad4304a7299ff4c2cad210c1c46d
treecd6e11a9780f7b9264b5784a3fbfa90e95d70917
parentf726ad5921948d8391d06535d61a25ddad52e305
execute_external_filter(): Don't rely on undefined malloc() behaviour

... and fix the read buffer scaling for initial sizes below READ_LENGTH.

Could fix the crash reported by Jonathan McKenzie on ijbswa-users@
filters.c