Prevent undefined behaviour in herodotus_reader_copy() The first part usually catches harmless cases like "NULL + 0", but the last part prevents integer overflow in some really crazy cases that are unlikely but can still happen. Signed-off-by: Laslo Hunhold <dev@frign.de>