Follow-up Comment #2, bug #13229 (project wesnoth):

I've checked formula_function.cpp for simular bugs [grep -n '*'
src/formula_function.cpp] and looking at the results, and I've found another
segfault, which can be easily reproduced by running  contains_string('','')

I've attached an updated patch which includes fixes to both these segfaults.

head(empty list) evaluates to variant().
contains_string('','') evaluates to 1.


(file #5468)
    _______________________________________________________

Additional Item Attachment:

File name: formula_function_crash.2.diff  Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?13229>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to