[goffice] Fix an infinite loop condition in 3D plots. [#765480]



commit ca62909d106cf9b602fc4dab94051ae38a93c023
Author: Jean Brefort <jean brefort normalesup org>
Date:   Sun Apr 24 09:31:16 2016 +0200

    Fix an infinite loop condition in 3D plots. [#765480]

 ChangeLog                |    5 +++++
 NEWS                     |    1 +
 goffice/graph/gog-axis.c |    1 +
 3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e5acedf..b76a069 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-24  Jean Brefort  <jean brefort normalesup org>
+
+       * goffice/graph/gog-axis.c (gog_axis_view_size_allocate): fix an infinite
+       loop condition. [#765480]
+
 2016-04-17  Jean Brefort  <jean brefort normalesup org>
 
        * plugins/plot_xy/gog-xy.c (gog_xy_view_render): do not load invalid data
diff --git a/NEWS b/NEWS
index 8d4e24b..ef27ec9 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ goffice 0.10.29:
 
 Jean:
        * Do not load invalid data labels in XYcolor plots. [#765155]
+       * Fix an infinite loop condition in 3D plots. [#765480]
 
 Morten:
        * Improve go_complex_sqrt.
diff --git a/goffice/graph/gog-axis.c b/goffice/graph/gog-axis.c
index 38673cf..2439a52 100644
--- a/goffice/graph/gog-axis.c
+++ b/goffice/graph/gog-axis.c
@@ -4306,6 +4306,7 @@ gog_axis_view_size_allocate (GogView *view, GogViewAllocation const *bbox)
                                        if (gog_chart_is_3d (chart)) {
                                                gog_axis_view_size_allocate_3d (view,
                                                        child, plot_area);
+                                               ptr = ptr->next;
                                                continue;
                                        }
                                        gog_view_size_request (child, &available, &req);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]