[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#213846: dpkg: Confirmation of segfault when fs full



tag 213846 -unreproducible
thanks

Looking at lib/mlib.c, write_buffer():

lines 197..200:
    case BUFFER_WRITE_FD:
      if((ret= write(data->data.i, buf, length)) < 0 && errno != EINTR)
        ohshite(_("failed in buffer_write(fd) (%i, ret=%li %s): %s"), data->data.i, (long)ret, desc);
      break;

There seems to be one too many %s. That'll be what's causing the segfault,
won't it?

-- 
Peter Denison <peterd at marshadder dot uklinux dot net>
Please use this address only for personal mail, not copied to lists
gatewayed to news or web pages unless the addresses are removed.



Reply to: