uvm32/apps/maze
Stéphane Travostino cdfae7d453 apps/maze: fix possible stack overflow
The original code this app is inspired from uses rand(), which returns
a number >= 0.
mulberry32() on the other hand can return a negative number, in which
case will overflow the accesses in the dirs array. Fix that by forcing
the result to be unsigned.
2025-12-14 10:15:04 +01:00
..
Makefile Move all app common files under apps/common 2025-12-12 15:45:17 +00:00
maze.c apps/maze: fix possible stack overflow 2025-12-14 10:15:04 +01:00