Commit 8dbb645a authored by Chyla Zbigniew's avatar Chyla Zbigniew
Browse files

Protected against stack overflow. Probably it doesn't really solve the


* src/func.c (function_def_get_full_info_if_needed): Protected against
stack overflow. Probably it doesn't really solve the problem though :(
parent 4a0547e0
2001-06-03 Zbigniew Chyla <cyba@gnome.pl>
* src/func.c (function_def_get_full_info_if_needed): Protected against
stack overflow. Probably it doesn't really solve the problem though :(
2001-06-03 Jody Goldberg <jgoldberg@home.com>
* src/cell-draw.c (draw_text) : limit length of cell text to avoid
......
2001-06-03 Zbigniew Chyla <cyba@gnome.pl>
* src/func.c (function_def_get_full_info_if_needed): Protected against
stack overflow. Probably it doesn't really solve the problem though :(
2001-06-03 Jody Goldberg <jgoldberg@home.com>
* src/cell-draw.c (draw_text) : limit length of cell text to avoid
......
2001-06-03 Zbigniew Chyla <cyba@gnome.pl>
* src/func.c (function_def_get_full_info_if_needed): Protected against
stack overflow. Probably it doesn't really solve the problem though :(
2001-06-03 Jody Goldberg <jgoldberg@home.com>
* src/cell-draw.c (draw_text) : limit length of cell text to avoid
......
2001-06-03 Zbigniew Chyla <cyba@gnome.pl>
* src/func.c (function_def_get_full_info_if_needed): Protected against
stack overflow. Probably it doesn't really solve the problem though :(
2001-06-03 Jody Goldberg <jgoldberg@home.com>
* src/cell-draw.c (draw_text) : limit length of cell text to avoid
......
2001-06-03 Zbigniew Chyla <cyba@gnome.pl>
* src/func.c (function_def_get_full_info_if_needed): Protected against
stack overflow. Probably it doesn't really solve the problem though :(
2001-06-03 Jody Goldberg <jgoldberg@home.com>
* src/cell-draw.c (draw_text) : limit length of cell text to avoid
......
......@@ -254,10 +254,13 @@ function_def_get_full_info_if_needed (FunctionDefinition *fn_def)
FunctionArgs *fn_args;
FunctionNodes *fn_nodes;
gboolean success;
FunctionGetFullInfoCallback callback;
success = fn_def->get_full_info_callback (fn_def,
&args, &arg_names, &help,
&fn_args, &fn_nodes);
callback = fn_def->get_full_info_callback;
fn_def->get_full_info_callback = NULL;
success = callback (fn_def, &args, &arg_names, &help,
&fn_args, &fn_nodes);
if (success) {
fn_def->named_arguments = arg_names;
fn_def->help = help;
......@@ -277,8 +280,6 @@ function_def_get_full_info_if_needed (FunctionDefinition *fn_def)
fn_def->fn_type = FUNCTION_NODES;
fn_def->fn.fn_nodes = &error_function_no_full_info;
}
fn_def->get_full_info_callback = NULL;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment