Maybe a bug of gtk/gdk ?
- From: James Su <suzhe gnuchina org>
- To: gtk-list gnome org
- Subject: Maybe a bug of gtk/gdk ?
- Date: Mon, 31 Mar 2003 11:02:05 +0800
Hi,
when I call gtk_init (argc, argv) with argc == 0, the program crashed at
gdk_parse_args () in gdk.c. I digged into the source code and found that
there are possiblly some bugs in gdk_arg_context_parse, which does not
check if argc <= 0.
I don't know should we treat it as a bug, or just restrict argc > 0 in
the documentation and force application send a valid data to gtk_init?
Regards
James Su
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]