Hi! Thank you very much for your fixes!
I squashed all of your 4 commits and added some minor changes:
— Fixed indentation in session.c for switch statement
— Removed computation of string length from OP_Set since in struct Mem we have
int n; /* size (in bytes) of string value, excluding trailing '\0' */