~vcs-imports/quagga/master

Viewing all changes in revision 3418.

  • Committer: Paul Jakma
  • Author(s): Paul Jakma
  • Date: 2018-02-19 20:55:20 UTC
  • Revision ID: git-v1:9d7a49f6090b6106ee9ecad4687167b2e60d98c3
lib: Fix assert in thread_add_unuse if thread_execute was used

* thread.c: (thread_call) thread_execute passes in a dummy thread, on its
  stack, with a NULL thread master. Those shouldn't be added to the unuse
  list or thread_add_unuse rightly asserts.

  Fix this very dumb bug.

  See https://bugzilla.quagga.net/show_bug.cgi?id=975

  With thanks to Sergey Popov, admin@pinkbyte.ru, and Andreas Nilsson,
  andrnils@resilans.se, for help with diagnosis and testing.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: