In the function wfc__create_tiles_overlapping, the tiles and base_tile_cnt variables may be used uninitialised during cleanup if the code jumps early to the CLEANUP label from lines 1322, 1336 and 1340. This will cause undefined behavior at best and a segmentation fault at worst. It is easily fixed by moving the definition of these variable with default values before the earliest point where you goto the CLEANUP label.
In the function
wfc__create_tiles_overlapping, thetilesandbase_tile_cntvariables may be used uninitialised during cleanup if the code jumps early to theCLEANUPlabel from lines 1322, 1336 and 1340. This will cause undefined behavior at best and a segmentation fault at worst. It is easily fixed by moving the definition of these variable with default values before the earliest point where you goto theCLEANUPlabel.