On Sat, May 15, 2021 at 05:46:45PM +0100, Khaled ROMDHANI wrote:> The 'curr' variable could be NULL and derefrenced by> pick_next_entity. Fix this by adding a check that prevent> the invocation of pick_next_entity with a NULL passed argument.And why exactly is that a problem?