summaryrefslogtreecommitdiff
path: root/src/bootchart/bootchart.h
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-06-18 23:35:01 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-06-19 00:18:05 +0200
commit8271bd16ce9327834d8580e55bb5e4e0896fd98a (patch)
tree478521bfc81baee476485af6c1b25f724a745a16 /src/bootchart/bootchart.h
parenta035f8191addc9422cbe84bf984adcd43134a0db (diff)
bootchart: add assert
since 376cd3b89c62f580a6f576cecfbbb28d3944118f LIST_FIND_TAIL accepts an empty list. That removed an assert in LIST_FIND_TAIL and we now theoretically risk a null pointer deref. This adds the assert directly to protect against that.
Diffstat (limited to 'src/bootchart/bootchart.h')
0 files changed, 0 insertions, 0 deletions