[Issue 9579] New: ldif_read_record(): incorrect parsing of EOF