[dovecot/core] 852804: auth: db-lua - Use luaL_error correctly

GitHub noreply at github.com
Tue Jan 23 18:00:13 EET 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 852804fa63aa9b4469c1c6ca81045b6ea312112f
      https://github.com/dovecot/core/commit/852804fa63aa9b4469c1c6ca81045b6ea312112f
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-01-23 (Tue, 23 Jan 2018)

  Changed paths:
    M src/auth/db-lua.c

  Log Message:
  -----------
  auth: db-lua - Use luaL_error correctly


  Commit: b1407b9891856fdc5be288070a6619a01c62dd7d
      https://github.com/dovecot/core/commit/b1407b9891856fdc5be288070a6619a01c62dd7d
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-01-23 (Tue, 23 Jan 2018)

  Changed paths:
    M src/auth/db-lua.c

  Log Message:
  -----------
  auth: db-lua - Do not assert-crash if given parameter was not auth_request

Use luaL_error instead that will back out more gracefully.

Fixes Panic: file db-lua.c: line 279 (auth_lua_check_auth_request): assertion failed: (lua_istable(script->L, arg))


Compare: https://github.com/dovecot/core/compare/6ef2504d0204...b1407b989185


More information about the dovecot-cvs mailing list