Right before the

memset(deleted_master, 0, sizeof(remote_printer_t));

deleted_master is allocated via

if (deleted_master == NULL &&
    (deleted_master =
     (remote_printer_t *)calloc(1, sizeof(remote_printer_t))) == NULL) {
  debug_printf("ERROR: Unable to allocate memory.\n");
  if (in_shutdown == 0)
    recheck_timer ();
  return FALSE;
}

and in case on unsuccessful allocation it is exited from the function
before the memset() call.

So at this point I do not see why it is going wrong.

So I still need the log, to see whether deleted_master gets overwritten
/re-assigned somewhere.

** Changed in: cups-filters (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1857815

Title:
  cups-browsed assert failure: corrupted double-linked list

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1857815/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to