Commit Graph
1 Commits
Author SHA1 Message Date
Marshall Bowers 512ba07c22 fix: correct assertion to validate variable name instead of module in wrenGetVariable
The assertion in `wrenGetVariable` was incorrectly checking `module != NULL` twice,
instead of checking `name != NULL` for the variable name parameter. This fix
ensures the second assertion validates the correct parameter, preventing
potential null pointer dereference when a NULL variable name is passed.
2018-01-18 05:46:58 +00:00