SetTargetFPS bug/vulnerability

edited September 2016 in raylib: core
If the client passes 0 as the parameter to SetTargetFPS, there is an unguarded division by (double)0 in the function and the behavior is undefined (as per

When I tried it out, the code compiled and the program ran, but it hung really bad (couldn't be killed through Task Manager), and on reboot, the config.xml file for the raylib Notepad++ installation was corrupted/missing.


Sign In or Register to comment.