Repository: godot
Issue: Executing `CSGCylinder.set_radius` crashes Godot due cyclic recursion
Labels: bug,topic:thirdparty,crash

### Godot version

3.5.beta.custom_build. 20b08185f

### System information

Ubuntu 21.10 - Nvidia GTX 970, Gnome shell 40.4 X11

### Issue description

When executing
```
	var temp_variable14293 = CSGCylinder.new()
	temp_variable14293.set_radius(-INF)
	temp_variable14293.queue_free()
```

Godot crashes with this backtrace
```
thirdparty/misc/mikktspace.c:443:2: runtime error: -nan is outside the range of representable values of type 'int'
Segmentation fault (core dumped)

#0  0x0000000004122c51 in MergeVertsFast (piTriList_in_and_out=<error reading variable: Cannot access memory at address 0x7fffff7fef88>, 
    pTmpVert=<error reading variable: Cannot access memory at address 0x7fffff7fef80>, 
    pContext=<error reading variable: Cannot access memory at address 0x7fffff7fef78>, 
    iL_in=<error reading variable: Cannot access memory at address 0x7fffff7fef74>, 
    iR_in=<error reading variable: Cannot access memory at address 0x7fffff7fef70>) at thirdparty/misc/mikktspace.c:577
#1  0x000000000412367f in MergeVertsFast (piTriList_in_and_out=0xeb518d0, pTmpVert=0xeb50820, pContext=0x7fffffffced0, iL_in=0, iR_in=95)
    at thirdparty/misc/mikktspace.c:682
#2  0x000000000412367f in MergeVertsFast (piTriList_in_and_out=0xeb518d0, pTmpVert=0xeb50820, pContext=0x7fffffffced0, iL_in=0, iR_in=95)
    at thirdparty/misc/mikktspace.c:682
#3  0x000000000412367f in MergeVertsFast (piTriList_in_and_out=0xeb518d0, pTmpVert=0xeb50820, pContext=0x7fffffffced0, iL_in=0, iR_in=95)
    at thirdparty/misc/mikktspace.c:682
#4  0x000000000412367f in MergeVertsFast (piTriList_in_and_out=0xeb518d0, pTmpVert=0xeb50820, pContext=0x7fffffffced0, iL_in=0, iR_in=95)
    at thirdparty/misc/mikktspace.c:682
#5  0x000000000412367f in MergeVertsFast (piTriList_in_and_out=0xeb518d0, pTmpVert=0xeb50820, pContext=0x7fffffffced0, iL_in=0, iR_in=95)
    at thirdparty/misc/mikktspace.c:682
#6  0x000000000412367f in MergeVertsFast (piTriList_in_and_out=0xeb518d0, pTmpVert=0xeb50820, pContext=0x7fffffffced0, iL_in=0, iR_in=95)
    at thirdparty/misc/mikktspace.c:682
#7  0x000000000412367f in MergeVertsFast (piTriList_in_and_out=0xeb518d0, pTmpVert=0xeb50820, pContext=0x7fffffffced0, iL_in=0, iR_in=95)
    at thirdparty/misc/mikktspace.c:682
#8  0x000000000412367f in MergeVertsFast (piTriList_in_and_out=0xeb518d0, pTmpVert=0xeb50820, pContext=0x7fffffffced0, iL_in=0, iR_in=95)
    at thirdparty/misc/mikktspace.c:682
#9  0x000000000412367f in MergeVertsFast (piTriList_in_and_out=0xeb518d0, pTmpVert=0xeb50820, pContext=0x7fffffffced0, iL_in=0, iR_in=95)
    at thirdparty/misc/mikktspace.c:682
#10 0x000000000412367f in MergeVertsFast (piTriList_in_and_out=0xeb518d0, pTmpVert=0xeb50820, pContext=0x7fffffffced0, iL_in=0, iR_in=95)
    at thirdparty/misc/mikktspace.c:682
#11 0x000000000412367f in MergeVertsFast (piTriList_in_and_out=0xeb518d0, pTmpVert=0xeb50820, pContext=0x7fffffffced0, iL_in=0, iR_in=95)
    at thirdparty/misc/mikktspace.c:682
#12 0x000000000412367f in MergeVertsFast (piTriList_in_and_out=0xeb518d0, pTmpVert=0xeb50820, pContext=0x7fffffffced0, iL_in=0, iR_in=95)
    at thirdparty/misc/mikktspace.c:682
#13 0x000000000412367f in MergeVertsFast (piTriList_in_and_out=0xeb518d0, pTmpVert=0xeb50820, pContext=0x7fffffffced0, iL_in=0, iR_in=95)


```


This example was found by Godot fuzzer - [Qarminer](https://github.com/qarmin/Qarminer), so it is quite unlikelly that this code could be used in real project, but still this should be handled gracefully.


### Steps to reproduce

Above

### Minimal reproduction project

_No response_