[goffice] Fuzzed file fix. [#752223]
- From: Jean Bréfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Fuzzed file fix. [#752223]
- Date: Fri, 10 Jul 2015 19:42:51 +0000 (UTC)
commit ecfe44ef09aa26724875e4c8348ccc7c6fc2d0fd
Author: Jean Brefort <jean brefort normalesup org>
Date: Fri Jul 10 21:42:08 2015 +0200
Fuzzed file fix. [#752223]
ChangeLog | 5 +++++
NEWS | 2 +-
goffice/graph/gog-axis.c | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f2c93b4..0eb516f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-10 Jean Brefort <jean brefort normalesup org>
+
+ * goffice/graph/gog-axis.c (gog_axis_metrics_from_str): fix a paste error.
+ Fixes #752223.
+
2015-07-08 Morten Welinder <terra gnome org>
* plugins/reg_logfit/gog-logfit.c (gog_log_fit_curve_update):
diff --git a/NEWS b/NEWS
index 6a25421..3c0dd3b 100644
--- a/NEWS
+++ b/NEWS
@@ -3,7 +3,7 @@ goffice 0.10.23:
Jean:
* Disable metafiles support when there is no screen. [#748493]
* Fuzzed file fixes. [#750860] [#751059] [#751256] [#751257] [#751272]
- [#751925]
+ [#751925] [#752223]
Morten:
* Fix ABR [#749167]
diff --git a/goffice/graph/gog-axis.c b/goffice/graph/gog-axis.c
index 30f7560..d5e50b4 100644
--- a/goffice/graph/gog-axis.c
+++ b/goffice/graph/gog-axis.c
@@ -120,7 +120,7 @@ gog_axis_metrics_from_str (char const *name)
unsigned i;
GogAxisMetrics ret = GOG_AXIS_METRICS_DEFAULT;
- for (i = 0; i < GO_LINE_MAX; i++) {
+ for (i = 0; i < GOG_AXIS_METRICS_MAX; i++) {
if (strcmp (metrics_desc[i].name, name) == 0) {
ret = metrics_desc[i].metrics;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]