fix buffer overrun, fix reader_rrd3 exit code