Johny Mattsson 1965a12efc
Minor Lua fixes. (#3467)
Discovered over on the dev-esp32-idf4 branch.

- Off by one error in loadLFS, leading to slight memory leak and
  potential corruption.

- Insufficient return value check in loadLFS, where uzlib may return
  one of two success conditions, one of which would result in an
  out-of-bounds access and related pain.

- One case of a side effect within a lua_assert(), leading to
  silently broken LFS image handling when compiling without asserts
  enabled, the issue showing up as module names being shuffled around.

- Incorrect encoding of TValues in LFS when 64bit numbers in use.
2021-11-19 22:50:27 +01:00
..
2020-06-09 22:26:06 +02:00
2020-12-16 23:20:09 +01:00
2019-07-23 18:47:18 +03:00
2019-07-23 18:47:18 +03:00
2020-09-27 03:05:36 +01:00
2021-11-19 22:50:27 +01:00
2021-11-19 22:50:27 +01:00
2021-11-19 22:47:54 +01:00
2021-01-05 12:07:09 +01:00
2021-01-10 17:19:10 +00:00
2019-07-23 18:47:18 +03:00
2019-07-23 18:47:18 +03:00
2019-07-23 18:47:18 +03:00
2019-07-23 18:47:18 +03:00
2019-07-23 18:47:18 +03:00