vala r2273 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2273 - in trunk: . vala
- Date: Sun, 4 Jan 2009 18:36:38 +0000 (UTC)
Author: juergbi
Date: Sun Jan 4 18:36:38 2009
New Revision: 2273
URL: http://svn.gnome.org/viewvc/vala?rev=2273&view=rev
Log:
2009-01-04 JÃrg Billeter <j bitron ch>
* vala/valamethodcall.vala:
Fix potential crash when argument check of method call fails,
fixes bug 566077
Modified:
trunk/ChangeLog
trunk/vala/valamethodcall.vala
Modified: trunk/vala/valamethodcall.vala
==============================================================================
--- trunk/vala/valamethodcall.vala (original)
+++ trunk/vala/valamethodcall.vala Sun Jan 4 18:36:38 2009
@@ -1,6 +1,6 @@
/* valamethodcall.vala
*
- * Copyright (C) 2006-2008 JÃrg Billeter
+ * Copyright (C) 2006-2009 JÃrg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -427,7 +427,10 @@
}
}
- analyzer.check_arguments (this, mtype, params, get_argument_list ());
+ if (!analyzer.check_arguments (this, mtype, params, get_argument_list ())) {
+ error = true;
+ return false;
+ }
if (may_throw) {
if (parent_node is LocalVariable || parent_node is ExpressionStatement) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]