dismiss unreasonable sizes and ImageStream::getLine returns null when it could not allocate its line buffer. Change-Id: I193038c0ff8e2f0ed68235569fc72ff7028db2c2 Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-on: https://gerrit.collaboraoffice.com/c/core/+/10751 Tested-by: Jenkins CPCI <releng@collaboraoffice.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit a463e295ab095ece7939997482f6d38cb8ca6a5a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210415 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>