librfn/util: Fix catastrophic bug in containerof
authorDaniel Thompson <daniel@redfelineninja.org.uk>
Sat, 12 Jan 2013 16:00:43 +0000 (16:00 +0000)
committerDaniel Thompson <daniel@redfelineninja.org.uk>
Sat, 12 Jan 2013 16:00:43 +0000 (16:00 +0000)
commit0906804583457fd065d53f1f9f09f4f454f90c69
tree3d4a7bca77aafd86ffb90547da6da156f4405d95
parent6bb8cfbeda0db4193e21b6e7fed2e73f2f3b43fc
librfn/util: Fix catastrophic bug in containerof

... and adding a regression test for the same.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
.gitignore
Makefile-librfn.am
src/librfn/include/librfn/util.h
src/librfn/tests/utiltest.c [new file with mode: 0644]