]> git.puffer.fish Git - matthieu/frr.git/commit
[lib/linklist] Enforce "nodes must have data" invariant more rigorously
authorPaul Jakma <paul.jakma@sun.com>
Thu, 28 Feb 2008 00:09:04 +0000 (00:09 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Thu, 28 Feb 2008 00:09:04 +0000 (00:09 +0000)
commit5f56808431778fe8878ea8ea94225cca08884b48
tree41027ecf7a18a787ea3109a76d5ec83ebf49a45e
parent20e5ff0a8893ffad6d31739d68d224931c4a7992
[lib/linklist] Enforce "nodes must have data" invariant more rigorously

2008-02-28 Paul Jakma <paul.jakma@sun.com>

* linklist.c: This implementation expects that the data pointer not
  be null, e.g. listgetdata() asserts this. The list add methods
  don't apply the same sanity check.

  Noted by Jim Carlson in bug #437.
lib/ChangeLog
lib/linklist.c