libole2 bug



This has probably been caught by now, but in version 0.2.4 we have,
in the non-mmap branch of ms_ole_open_vfs():

  if (!f->mem ||
        f->syswrap->read (file, f->mem, BB_BLOCK_SIZE == -1)) {
        g_warning ("Error reading header\n");


Ouch!  Misplaced paren.  Should be

  if (!f->mem ||
        f->syswrap->read (file, f->mem, BB_BLOCK_SIZE) == -1) {
        g_warning ("Error reading header\n");

-- 
Allin Cottrell
Department of Economics
Wake Forest University, NC




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