Skip to content

Address infinite loop when processing $GENERATE

Mark Andrews requested to merge 4353-fix-nibbles into main

In nibble mode if the value to be converted was negative the parser would loop forever. Process the value as an unsigned int instead of as an int to prevent sign extension when shifting.

This was found by Eric Sesterhenn from X41.


Closes #4353

Edited by Mark Andrews

Merge request reports