[gnumeric] sc: Fix ABW.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] sc: Fix ABW.
- Date: Mon, 11 May 2015 23:28:23 +0000 (UTC)
commit 0cbd7a357145b8e1de65aefcecdc4b22b3a9565c
Author: Morten Welinder <terra gnome org>
Date: Mon May 11 19:28:15 2015 -0400
sc: Fix ABW.
NEWS | 2 +-
plugins/sc/ChangeLog | 4 ++++
plugins/sc/sc.c | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/NEWS b/NEWS
index db79807..78bc63d 100644
--- a/NEWS
+++ b/NEWS
@@ -16,7 +16,7 @@ Morten:
* Plug leaks.
* Fuzzed file fixes. [#748595] [#748597] [#749031] [#749030]
[#749069] [#748533] [#749118] [#749166] [#749181] [#749184]
- [#749236]
+ [#749236] [#749240]
* Make solver check linearity of model.
* Fix xls saving of marker style. [#749185]
diff --git a/plugins/sc/ChangeLog b/plugins/sc/ChangeLog
index 711ab43..ee8ade0 100644
--- a/plugins/sc/ChangeLog
+++ b/plugins/sc/ChangeLog
@@ -1,3 +1,7 @@
+2015-05-11 Morten Welinder <terra gnome org>
+
+ * sc.c (sc_parse_label): Single quote is no good. Fixes #749240.
+
2015-04-16 Morten Welinder <terra gnome org>
* Release 1.12.22
diff --git a/plugins/sc/sc.c b/plugins/sc/sc.c
index 21243fb..fb6c81a 100644
--- a/plugins/sc/sc.c
+++ b/plugins/sc/sc.c
@@ -583,7 +583,7 @@ sc_parse_label (ScParseState *state, char const *cmd, char const *str,
g_return_val_if_fail (str, FALSE);
- if (*str != '"')
+ if (*str != '"' || str[1] == 0)
goto err_out;
s = tmpout = g_strdup (str);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]