0.1.11f on Linux x64. I've found that it crashes if I do this:
cstore(0x2000, 0x2000, 0x1000, nil) |
If I simply omit the filename argument, it works fine.
P#48065 2018-01-11 17:36 ( Edited 2018-01-12 17:06)
::
It's crashing. Segfault in strlen.
Generally, passing nil does the same thing as omitting the argument, and I expected that would be the case here. Maybe that doesn't apply to built-in functions? I haven't really looked into that.
I was doing this in a function that took the filename as an argument and simply forwarded it to cstore. I figured the argument would be optional, but it didn't work out that way.
P#48084 2018-01-12 14:46
Log in to post a comment |