summaryrefslogtreecommitdiff
path: root/usr.sbin/zdump
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-07-27 06:57:07 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-07-27 06:57:07 +0000
commitdd5a9892bb6377c2621287d46d6744fe2f5676c3 (patch)
tree405fb11eed78cc11ffc28aa749bd9c0b6618a58d /usr.sbin/zdump
parent61c49133f941a91cc4f419840963e490ce73297a (diff)
fix llist_for_each_entry*
enabling more of __notify_execute_cb() and running the intel xorg driver on broadwell would fault in __notify_execute_cb() on movq 0x38(%rsi),%r12 offsetof(struct execute_cb, work.node.llist) 0x38 llist_entry(NULL must not return NULL, it needs to wrap around and return NULL minus the offset the iterators stop when the offset added back to the result of llist_entry() is NULL they test that the first node is not NULL or that the next pointer stored in a previous iteration of the loop is not NULL
Diffstat (limited to 'usr.sbin/zdump')
0 files changed, 0 insertions, 0 deletions