Handle nullptr values in lualand #289
Labels
Bike.Shed
WHY IS THE TAG GOLD I WANTED TO PAINT IT RED--
Bug.Well Shit
Here we go again...
Question.Arf?
Milestone
Hello again!
Came across some interesting behavior around null pointer handling. I made an example at https://github.com/karenzshea/sunless that can be compiled with
./build.sh null.ccfrom the project directory.It compiles, but running the resulting binary results in a segfault à la
I can get around a crash by returning an empty string "" rather than
nullptr, but lua scripts may be expecting anilvalue rather than"".The text was updated successfully, but these errors were encountered: