summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-10-24 14:08:35 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-11-04 13:29:36 -0400
commite483855d24a0568c8e4c696f83fd9d999313589a (patch)
treef2ae02cd32509e40cc9a43ef060611e60cb46a80 /lib/zclient.c
parent3e85fb337332c8dbdf0a8834515170556f530b94 (diff)
lib: When adding to front of list ensure we handle tail to
When inserting to the front of a list with listnode_add_head if the list is empty, the tail will not be properly set and subsuquent calls to insert/remove will cause the function to crash. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/zclient.c')
0 files changed, 0 insertions, 0 deletions