[vlc-devel] [PATCH 1/3] vlc_list: helpers for doubly linked lists

Romain Vimont rom1v at videolabs.io
Tue Jun 12 15:27:56 CEST 2018


On Tue, Jun 12, 2018 at 04:11:01PM +0300, RĂ©mi Denis-Courmont wrote:
> Yeah so kernel list_for_each_entry(_safe) is UB on empty list in some cases.

Wow, that's right.

<https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/list.h?h=v4.17#n543>


More information about the vlc-devel mailing list