URL:
  <http://savannah.nongnu.org/bugs/?38510>

                 Summary: Crash on stack overflow in lua plugin (when linked
with luajit)
                 Project: WeeChat
            Submitted by: flashcode
            Submitted on: Wed 13 Mar 2013 06:19:17 PM CET
                Category: script API plugins
                Severity: 3 - Normal
              Item Group: crash
                  Status: In Progress
                 Privacy: Public
             Assigned to: flashcode
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.4.0
                IRC nick: FlashCode

    _______________________________________________________

Details:

Crash can be reproduced by loading script text_effects.lua and doing on core
buffer:


/repeat 10000 /debug


Apparently no problem with standard lua (only with luajit).

Fix: call lua_pop() for values returned by lua functions.

Problem reported on #weechat by xt.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?38510>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/weechat-dev

Reply via email to