mirror of https://github.com/pbatard/rufus.git
Browse Source
* Visual 2022 version 17.14.2 changes the way it performs optimizations with /O2 which results in innocuous C statements, such as invoking strtoul() twice on the same line, and using the pointer returned by the first call in the second, crashing the application with a read access violation (when built as RELEASE). * To alleviate that, we break down the Syslinux strtoul() invocation, as well as harden our Syslinux version processing while we're at it. * Hopefully this is the only line of code where the new mode of MSVC optimisation creates a problem with... * Closes #2740.pull/2746/head

2 changed files with 16 additions and 8 deletions
Loading…
Reference in new issue