Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/goffice-0.10.48/tests/mf-demo.c
Examining data/goffice-0.10.48/tests/test-format.c
Examining data/goffice-0.10.48/tests/pie-demo.c
Examining data/goffice-0.10.48/tests/constants.c
Examining data/goffice-0.10.48/tests/go-demo.c
Examining data/goffice-0.10.48/tests/test-math.c
Examining data/goffice-0.10.48/tests/test-quad.c
Examining data/goffice-0.10.48/plugins/plot_barcol/gog-dropbar.c
Examining data/goffice-0.10.48/plugins/plot_barcol/gog-1.5d.c
Examining data/goffice-0.10.48/plugins/plot_barcol/gog-line.c
Examining data/goffice-0.10.48/plugins/plot_barcol/gog-dropbar.h
Examining data/goffice-0.10.48/plugins/plot_barcol/gog-minmax.h
Examining data/goffice-0.10.48/plugins/plot_barcol/gog-minmax.c
Examining data/goffice-0.10.48/plugins/plot_barcol/gog-barcol.h
Examining data/goffice-0.10.48/plugins/plot_barcol/gog-line.h
Examining data/goffice-0.10.48/plugins/plot_barcol/gog-barcol-prefs.c
Examining data/goffice-0.10.48/plugins/plot_barcol/gog-1.5d.h
Examining data/goffice-0.10.48/plugins/plot_barcol/gog-barcol.c
Examining data/goffice-0.10.48/plugins/plot_distrib/go-distribution-prefs.h
Examining data/goffice-0.10.48/plugins/plot_distrib/gog-probability-plot.h
Examining data/goffice-0.10.48/plugins/plot_distrib/go-distribution-prefs.c
Examining data/goffice-0.10.48/plugins/plot_distrib/gog-histogram.h
Examining data/goffice-0.10.48/plugins/plot_distrib/gog-boxplot.h
Examining data/goffice-0.10.48/plugins/plot_distrib/gog-boxplot.c
Examining data/goffice-0.10.48/plugins/plot_distrib/gog-histogram.c
Examining data/goffice-0.10.48/plugins/plot_distrib/gog-probability-plot.c
Examining data/goffice-0.10.48/plugins/plot_distrib/plugin.c
Examining data/goffice-0.10.48/plugins/plot_xy/gog-xy-dropbar.h
Examining data/goffice-0.10.48/plugins/plot_xy/gog-xy-dropbar.c
Examining data/goffice-0.10.48/plugins/plot_xy/gog-bubble-prefs.c
Examining data/goffice-0.10.48/plugins/plot_xy/gog-xy-minmax.c
Examining data/goffice-0.10.48/plugins/plot_xy/gog-xy.c
Examining data/goffice-0.10.48/plugins/plot_xy/gog-xy-minmax.h
Examining data/goffice-0.10.48/plugins/plot_xy/gog-xy.h
Examining data/goffice-0.10.48/plugins/plot_pie/gog-pie.h
Examining data/goffice-0.10.48/plugins/plot_pie/gog-pie.c
Examining data/goffice-0.10.48/plugins/plot_pie/gog-pie-prefs.c
Examining data/goffice-0.10.48/plugins/plot_surface/gog-xyz-prefs.c
Examining data/goffice-0.10.48/plugins/plot_surface/gog-xyz-surface-prefs.c
Examining data/goffice-0.10.48/plugins/plot_surface/gog-matrix.c
Examining data/goffice-0.10.48/plugins/plot_surface/gog-xyz-surface.h
Examining data/goffice-0.10.48/plugins/plot_surface/gog-xyz.h
Examining data/goffice-0.10.48/plugins/plot_surface/xl-surface.c
Examining data/goffice-0.10.48/plugins/plot_surface/gog-contour.h
Examining data/goffice-0.10.48/plugins/plot_surface/xl-surface.h
Examining data/goffice-0.10.48/plugins/plot_surface/gog-contour.c
Examining data/goffice-0.10.48/plugins/plot_surface/gog-surface.c
Examining data/goffice-0.10.48/plugins/plot_surface/gog-surface.h
Examining data/goffice-0.10.48/plugins/plot_surface/gog-xyz.c
Examining data/goffice-0.10.48/plugins/plot_surface/gog-matrix.h
Examining data/goffice-0.10.48/plugins/plot_surface/gog-xyz-surface.c
Examining data/goffice-0.10.48/plugins/plot_radar/gog-radar.h
Examining data/goffice-0.10.48/plugins/plot_radar/gog-radar.c
Examining data/goffice-0.10.48/plugins/reg_logfit/gog-logfit.c
Examining data/goffice-0.10.48/plugins/reg_logfit/gog-logfit.h
Examining data/goffice-0.10.48/plugins/smoothing/gog-exp-smooth.h
Examining data/goffice-0.10.48/plugins/smoothing/gog-moving-avg.c
Examining data/goffice-0.10.48/plugins/smoothing/gog-moving-avg.h
Examining data/goffice-0.10.48/plugins/smoothing/plugin.c
Examining data/goffice-0.10.48/plugins/smoothing/gog-exp-smooth.c
Examining data/goffice-0.10.48/plugins/lasem/component.c
Examining data/goffice-0.10.48/plugins/reg_linear/gog-lin-reg.c
Examining data/goffice-0.10.48/plugins/reg_linear/gog-power-reg.c
Examining data/goffice-0.10.48/plugins/reg_linear/gog-polynom-reg.h
Examining data/goffice-0.10.48/plugins/reg_linear/gog-log-reg.h
Examining data/goffice-0.10.48/plugins/reg_linear/gog-exp-reg.h
Examining data/goffice-0.10.48/plugins/reg_linear/gog-polynom-reg.c
Examining data/goffice-0.10.48/plugins/reg_linear/gog-power-reg.h
Examining data/goffice-0.10.48/plugins/reg_linear/gog-lin-reg.h
Examining data/goffice-0.10.48/plugins/reg_linear/gog-log-reg.c
Examining data/goffice-0.10.48/plugins/reg_linear/gog-exp-reg.c
Examining data/goffice-0.10.48/goffice/goffice.c
Examining data/goffice-0.10.48/goffice/app/go-conf-gsettings.c
Examining data/goffice-0.10.48/goffice/app/go-plugin.c
Examining data/goffice-0.10.48/goffice/app/go-plugin-service.c
Examining data/goffice-0.10.48/goffice/app/file.c
Examining data/goffice-0.10.48/goffice/app/go-service-impl.h
Examining data/goffice-0.10.48/goffice/app/io-context-priv.h
Examining data/goffice-0.10.48/goffice/app/go-conf-win32.c
Examining data/goffice-0.10.48/goffice/app/go-doc.c
Examining data/goffice-0.10.48/goffice/app/file-priv.h
Examining data/goffice-0.10.48/goffice/app/go-object.h
Examining data/goffice-0.10.48/goffice/app/go-conf-keyfile.c
Examining data/goffice-0.10.48/goffice/app/io-context.h
Examining data/goffice-0.10.48/goffice/app/go-plugin-loader-module.c
Examining data/goffice-0.10.48/goffice/app/go-plugin-loader.c
Examining data/goffice-0.10.48/goffice/app/file.h
Examining data/goffice-0.10.48/goffice/app/go-conf.h
Examining data/goffice-0.10.48/goffice/app/io-context.c
Examining data/goffice-0.10.48/goffice/app/go-view.h
Examining data/goffice-0.10.48/goffice/app/go-plugin.h
Examining data/goffice-0.10.48/goffice/app/go-cmd-context.c
Examining data/goffice-0.10.48/goffice/app/go-view.c
Examining data/goffice-0.10.48/goffice/app/go-plugin-loader-module.h
Examining data/goffice-0.10.48/goffice/app/go-cmd-context.h
Examining data/goffice-0.10.48/goffice/app/go-error-stack.h
Examining data/goffice-0.10.48/goffice/app/go-doc.h
Examining data/goffice-0.10.48/goffice/app/go-doc-impl.h
Examining data/goffice-0.10.48/goffice/app/go-plugin-service.h
Examining data/goffice-0.10.48/goffice/app/goffice-app.h
Examining data/goffice-0.10.48/goffice/app/go-doc-control.h
Examining data/goffice-0.10.48/goffice/app/go-object.c
Examining data/goffice-0.10.48/goffice/app/go-plugin-loader.h
Examining data/goffice-0.10.48/goffice/app/go-service.c
Examining data/goffice-0.10.48/goffice/app/go-doc-control-impl.h
Examining data/goffice-0.10.48/goffice/app/go-conf.c
Examining data/goffice-0.10.48/goffice/app/error-info.h
Examining data/goffice-0.10.48/goffice/app/error-info.c
Examining data/goffice-0.10.48/goffice/app/go-plugin-service-impl.h
Examining data/goffice-0.10.48/goffice/app/go-doc-control.c
Examining data/goffice-0.10.48/goffice/app/go-app.h
Examining data/goffice-0.10.48/goffice/app/go-cmd-context-impl.h
Examining data/goffice-0.10.48/goffice/app/go-service.h
Examining data/goffice-0.10.48/goffice/app/module-plugin-defs.h
Examining data/goffice-0.10.48/goffice/goffice-priv.h
Examining data/goffice-0.10.48/goffice/graph/gog-grid-line.h
Examining data/goffice-0.10.48/goffice/graph/gog-child-button.c
Examining data/goffice-0.10.48/goffice/graph/gog-smoothed-curve.c
Examining data/goffice-0.10.48/goffice/graph/gog-axis.c
Examining data/goffice-0.10.48/goffice/graph/gog-object.h
Examining data/goffice-0.10.48/goffice/graph/gog-chart-map-3d.c
Examining data/goffice-0.10.48/goffice/graph/gog-object.c
Examining data/goffice-0.10.48/goffice/graph/gog-series.h
Examining data/goffice-0.10.48/goffice/graph/gog-equation.c
Examining data/goffice-0.10.48/goffice/graph/gog-smoothed-curve.h
Examining data/goffice-0.10.48/goffice/graph/gog-chart.h
Examining data/goffice-0.10.48/goffice/graph/gog-chart-map-3d.h
Examining data/goffice-0.10.48/goffice/graph/gog-graph.c
Examining data/goffice-0.10.48/goffice/graph/gog-chart-impl.h
Examining data/goffice-0.10.48/goffice/graph/gog-chart-map.c
Examining data/goffice-0.10.48/goffice/graph/gog-reg-curve.h
Examining data/goffice-0.10.48/goffice/graph/goffice-graph.h
Examining data/goffice-0.10.48/goffice/graph/gog-trend-line.c
Examining data/goffice-0.10.48/goffice/graph/gog-label.c
Examining data/goffice-0.10.48/goffice/graph/gog-color-scale.h
Examining data/goffice-0.10.48/goffice/graph/gog-renderer.c
Examining data/goffice-0.10.48/goffice/graph/gog-outlined-object.h
Examining data/goffice-0.10.48/goffice/graph/gog-graph.h
Examining data/goffice-0.10.48/goffice/graph/gog-data-set.h
Examining data/goffice-0.10.48/goffice/graph/gog-graph-impl.h
Examining data/goffice-0.10.48/goffice/graph/gog-theme.h
Examining data/goffice-0.10.48/goffice/graph/gog-grid-line.c
Examining data/goffice-0.10.48/goffice/graph/gog-error-bar.c
Examining data/goffice-0.10.48/goffice/graph/gog-reg-curve.c
Examining data/goffice-0.10.48/goffice/graph/gog-axis.h
Examining data/goffice-0.10.48/goffice/graph/gog-grid.h
Examining data/goffice-0.10.48/goffice/graph/gog-child-button.h
Examining data/goffice-0.10.48/goffice/graph/gog-color-scale.c
Examining data/goffice-0.10.48/goffice/graph/gog-plot.c
Examining data/goffice-0.10.48/goffice/graph/gog-chart.c
Examining data/goffice-0.10.48/goffice/graph/gog-guru.c
Examining data/goffice-0.10.48/goffice/graph/gog-view.c
Examining data/goffice-0.10.48/goffice/graph/gog-styled-object.c
Examining data/goffice-0.10.48/goffice/graph/gog-series-lines.h
Examining data/goffice-0.10.48/goffice/graph/gog-axis-line.c
Examining data/goffice-0.10.48/goffice/graph/gog-axis-color-map.h
Examining data/goffice-0.10.48/goffice/graph/gog-view.h
Examining data/goffice-0.10.48/goffice/graph/gog-plot-engine.h
Examining data/goffice-0.10.48/goffice/graph/gog-3d-box.c
Examining data/goffice-0.10.48/goffice/graph/gog-plot-engine.c
Examining data/goffice-0.10.48/goffice/graph/gog-series-labels.h
Examining data/goffice-0.10.48/goffice/graph/gog-renderer.h
Examining data/goffice-0.10.48/goffice/graph/gog-label.h
Examining data/goffice-0.10.48/goffice/graph/gog-data-set.c
Examining data/goffice-0.10.48/goffice/graph/gog-theme.c
Examining data/goffice-0.10.48/goffice/graph/gog-guru.h
Examining data/goffice-0.10.48/goffice/graph/gog-object-xml.h
Examining data/goffice-0.10.48/goffice/graph/gog-axis-color-map.c
Examining data/goffice-0.10.48/goffice/graph/gog-trend-line.h
Examining data/goffice-0.10.48/goffice/graph/gog-plot.h
Examining data/goffice-0.10.48/goffice/graph/gog-equation.h
Examining data/goffice-0.10.48/goffice/graph/gog-series.c
Examining data/goffice-0.10.48/goffice/graph/gog-3d-box.h
Examining data/goffice-0.10.48/goffice/graph/gog-series-labels.c
Examining data/goffice-0.10.48/goffice/graph/gog-axis-line.h
Examining data/goffice-0.10.48/goffice/graph/gog-object-xml.c
Examining data/goffice-0.10.48/goffice/graph/gog-legend.c
Examining data/goffice-0.10.48/goffice/graph/gog-legend.h
Examining data/goffice-0.10.48/goffice/graph/gog-outlined-object.c
Examining data/goffice-0.10.48/goffice/graph/gog-grid.c
Examining data/goffice-0.10.48/goffice/graph/gog-styled-object.h
Examining data/goffice-0.10.48/goffice/graph/gog-series-impl.h
Examining data/goffice-0.10.48/goffice/graph/gog-plot-impl.h
Examining data/goffice-0.10.48/goffice/graph/gog-chart-map.h
Examining data/goffice-0.10.48/goffice/graph/gog-data-allocator.c
Examining data/goffice-0.10.48/goffice/graph/gog-data-allocator.h
Examining data/goffice-0.10.48/goffice/graph/gog-error-bar.h
Examining data/goffice-0.10.48/goffice/graph/gog-series-lines.c
Examining data/goffice-0.10.48/goffice/graph/gog-axis-line-impl.h
Examining data/goffice-0.10.48/goffice/goffice.h
Examining data/goffice-0.10.48/goffice/gtk/go-combo-color.h
Examining data/goffice-0.10.48/goffice/gtk/go-combo-pixmaps.c
Examining data/goffice-0.10.48/goffice/gtk/go-combo-pixmaps.h
Examining data/goffice-0.10.48/goffice/gtk/go-font-sel-dialog.h
Examining data/goffice-0.10.48/goffice/gtk/go-line-selector.h
Examining data/goffice-0.10.48/goffice/gtk/go-graph-widget.h
Examining data/goffice-0.10.48/goffice/gtk/go-3d-rotation-sel.c
Examining data/goffice-0.10.48/goffice/gtk/go-rotation-sel.c
Examining data/goffice-0.10.48/goffice/gtk/go-line-selector.c
Examining data/goffice-0.10.48/goffice/gtk/go-color-selector.h
Examining data/goffice-0.10.48/goffice/gtk/go-combo-color.c
Examining data/goffice-0.10.48/goffice/gtk/go-locale-sel.h
Examining data/goffice-0.10.48/goffice/gtk/go-arrow-sel.h
Examining data/goffice-0.10.48/goffice/gtk/go-palette.h
Examining data/goffice-0.10.48/goffice/gtk/go-combo-box.c
Examining data/goffice-0.10.48/goffice/gtk/go-gradient-selector.h
Examining data/goffice-0.10.48/goffice/gtk/go-format-sel.h
Examining data/goffice-0.10.48/goffice/gtk/go-color-selector.c
Examining data/goffice-0.10.48/goffice/gtk/go-color-group.h
Examining data/goffice-0.10.48/goffice/gtk/go-marker-selector.c
Examining data/goffice-0.10.48/goffice/gtk/go-action-combo-pixmaps.h
Examining data/goffice-0.10.48/goffice/gtk/go-combo-box.h
Examining data/goffice-0.10.48/goffice/gtk/go-3d-rotation-sel.h
Examining data/goffice-0.10.48/goffice/gtk/go-optionmenu.c
Examining data/goffice-0.10.48/goffice/gtk/go-action-combo-stack.c
Examining data/goffice-0.10.48/goffice/gtk/go-action-combo-stack.h
Examining data/goffice-0.10.48/goffice/gtk/go-format-sel.c
Examining data/goffice-0.10.48/goffice/gtk/go-optionmenu.h
Examining data/goffice-0.10.48/goffice/gtk/go-rotation-sel.h
Examining data/goffice-0.10.48/goffice/gtk/goffice-gtk.h
Examining data/goffice-0.10.48/goffice/gtk/goffice-gtk.c
Examining data/goffice-0.10.48/goffice/gtk/go-action-combo-pixmaps.c
Examining data/goffice-0.10.48/goffice/gtk/go-math-editor.h
Examining data/goffice-0.10.48/goffice/gtk/go-color-palette.h
Examining data/goffice-0.10.48/goffice/gtk/go-image-sel.h
Examining data/goffice-0.10.48/goffice/gtk/go-math-editor.c
Examining data/goffice-0.10.48/goffice/gtk/go-gradient-selector.c
Examining data/goffice-0.10.48/goffice/gtk/go-selector.h
Examining data/goffice-0.10.48/goffice/gtk/go-color-palette.c
Examining data/goffice-0.10.48/goffice/gtk/go-marker-selector.h
Examining data/goffice-0.10.48/goffice/gtk/go-font-sel.h
Examining data/goffice-0.10.48/goffice/gtk/go-calendar-button.c
Examining data/goffice-0.10.48/goffice/gtk/go-arrow-sel.c
Examining data/goffice-0.10.48/goffice/gtk/go-locale-sel.c
Examining data/goffice-0.10.48/goffice/gtk/go-pattern-selector.c
Examining data/goffice-0.10.48/goffice/gtk/go-pattern-selector.h
Examining data/goffice-0.10.48/goffice/gtk/go-selector.c
Examining data/goffice-0.10.48/goffice/gtk/go-font-sel.c
Examining data/goffice-0.10.48/goffice/gtk/go-color-group.c
Examining data/goffice-0.10.48/goffice/gtk/go-action-combo-text.c
Examining data/goffice-0.10.48/goffice/gtk/go-action-combo-color.c
Examining data/goffice-0.10.48/goffice/gtk/go-charmap-sel.c
Examining data/goffice-0.10.48/goffice/gtk/go-calendar-button.h
Examining data/goffice-0.10.48/goffice/gtk/go-action-combo-color.h
Examining data/goffice-0.10.48/goffice/gtk/go-palette.c
Examining data/goffice-0.10.48/goffice/gtk/go-charmap-sel.h
Examining data/goffice-0.10.48/goffice/gtk/go-action-combo-text.h
Examining data/goffice-0.10.48/goffice/gtk/go-font-sel-dialog.c
Examining data/goffice-0.10.48/goffice/gtk/go-image-sel.c
Examining data/goffice-0.10.48/goffice/gtk/go-graph-widget.c
Examining data/goffice-0.10.48/goffice/utils/go-path.c
Examining data/goffice-0.10.48/goffice/utils/go-color.c
Examining data/goffice-0.10.48/goffice/utils/go-pattern.c
Examining data/goffice-0.10.48/goffice/utils/go-file.h
Examining data/goffice-0.10.48/goffice/utils/go-path.h
Examining data/goffice-0.10.48/goffice/utils/go-libxml-extras.h
Examining data/goffice-0.10.48/goffice/utils/go-geometry.h
Examining data/goffice-0.10.48/goffice/utils/go-font.c
Examining data/goffice-0.10.48/goffice/utils/go-unit.c
Examining data/goffice-0.10.48/goffice/utils/go-style.h
Examining data/goffice-0.10.48/goffice/utils/go-bezier.h
Examining data/goffice-0.10.48/goffice/utils/go-locale.c
Examining data/goffice-0.10.48/goffice/utils/go-format.c
Examining data/goffice-0.10.48/goffice/utils/go-gradient.c
Examining data/goffice-0.10.48/goffice/utils/go-geometry.c
Examining data/goffice-0.10.48/goffice/utils/go-mml-to-itex.h
Examining data/goffice-0.10.48/goffice/utils/go-pattern.h
Examining data/goffice-0.10.48/goffice/utils/datetime.h
Examining data/goffice-0.10.48/goffice/utils/go-pixbuf.c
Examining data/goffice-0.10.48/goffice/utils/go-format.h
Examining data/goffice-0.10.48/goffice/utils/go-persist.h
Examining data/goffice-0.10.48/goffice/utils/go-editor.h
Examining data/goffice-0.10.48/goffice/utils/go-line.c
Examining data/goffice-0.10.48/goffice/utils/go-glib-extras.c
Examining data/goffice-0.10.48/goffice/utils/go-string.h
Examining data/goffice-0.10.48/goffice/utils/go-locale.h
Examining data/goffice-0.10.48/goffice/utils/go-styled-object.c
Examining data/goffice-0.10.48/goffice/utils/go-file.c
Examining data/goffice-0.10.48/goffice/utils/go-pango-extras.c
Examining data/goffice-0.10.48/goffice/utils/go-spectre.h
Examining data/goffice-0.10.48/goffice/utils/go-svg.c
Examining data/goffice-0.10.48/goffice/utils/go-pixbuf.h
Examining data/goffice-0.10.48/goffice/utils/go-cairo.c
Examining data/goffice-0.10.48/goffice/utils/go-emf.c
Examining data/goffice-0.10.48/goffice/utils/regutf8.h
Examining data/goffice-0.10.48/goffice/utils/go-emf.h
Examining data/goffice-0.10.48/goffice/utils/go-styled-object.h
Examining data/goffice-0.10.48/goffice/utils/go-line.h
Examining data/goffice-0.10.48/goffice/utils/go-unit.h
Examining data/goffice-0.10.48/goffice/utils/go-rsm.h
Examining data/goffice-0.10.48/goffice/utils/go-spectre.c
Examining data/goffice-0.10.48/goffice/utils/regutf8.c
Examining data/goffice-0.10.48/goffice/utils/go-style.c
Examining data/goffice-0.10.48/goffice/utils/go-editor.c
Examining data/goffice-0.10.48/goffice/utils/goffice-utils.c
Examining data/goffice-0.10.48/goffice/utils/goffice-utils.h
Examining data/goffice-0.10.48/goffice/utils/go-marker.c
Examining data/goffice-0.10.48/goffice/utils/go-marker.h
Examining data/goffice-0.10.48/goffice/utils/go-gdk-pixbuf.c
Examining data/goffice-0.10.48/goffice/utils/go-gdk-pixbuf.h
Examining data/goffice-0.10.48/goffice/utils/go-pango-extras.h
Examining data/goffice-0.10.48/goffice/utils/go-font.h
Examining data/goffice-0.10.48/goffice/utils/go-gradient.h
Examining data/goffice-0.10.48/goffice/utils/go-color.h
Examining data/goffice-0.10.48/goffice/utils/go-bezier.c
Examining data/goffice-0.10.48/goffice/utils/formats.c
Examining data/goffice-0.10.48/goffice/utils/datetime.c
Examining data/goffice-0.10.48/goffice/utils/go-undo.h
Examining data/goffice-0.10.48/goffice/utils/go-mml-to-itex.c
Examining data/goffice-0.10.48/goffice/utils/go-image.c
Examining data/goffice-0.10.48/goffice/utils/go-glib-extras.h
Examining data/goffice-0.10.48/goffice/utils/go-persist.c
Examining data/goffice-0.10.48/goffice/utils/go-rsm.c
Examining data/goffice-0.10.48/goffice/utils/go-undo.c
Examining data/goffice-0.10.48/goffice/utils/go-image.h
Examining data/goffice-0.10.48/goffice/utils/go-libxml-extras.c
Examining data/goffice-0.10.48/goffice/utils/go-svg.h
Examining data/goffice-0.10.48/goffice/utils/go-cairo.h
Examining data/goffice-0.10.48/goffice/utils/go-units.h
Examining data/goffice-0.10.48/goffice/utils/go-string.c
Examining data/goffice-0.10.48/goffice/component/go-component-mime-dialog.c
Examining data/goffice-0.10.48/goffice/component/go-component-factory.c
Examining data/goffice-0.10.48/goffice/component/go-component-factory.h
Examining data/goffice-0.10.48/goffice/component/goffice-component.h
Examining data/goffice-0.10.48/goffice/component/go-component-mime-dialog.h
Examining data/goffice-0.10.48/goffice/component/go-component.c
Examining data/goffice-0.10.48/goffice/component/go-component.h
Examining data/goffice-0.10.48/goffice/canvas/goffice-canvas.h
Examining data/goffice-0.10.48/goffice/canvas/goc-pixbuf.h
Examining data/goffice-0.10.48/goffice/canvas/goc-component.h
Examining data/goffice-0.10.48/goffice/canvas/goc-polygon.c
Examining data/goffice-0.10.48/goffice/canvas/goc-arc.h
Examining data/goffice-0.10.48/goffice/canvas/goc-item.c
Examining data/goffice-0.10.48/goffice/canvas/goc-item.h
Examining data/goffice-0.10.48/goffice/canvas/goc-widget.h
Examining data/goffice-0.10.48/goffice/canvas/goc-circle.h
Examining data/goffice-0.10.48/goffice/canvas/goc-canvas.h
Examining data/goffice-0.10.48/goffice/canvas/goc-text.h
Examining data/goffice-0.10.48/goffice/canvas/goc-utils.c
Examining data/goffice-0.10.48/goffice/canvas/goc-styled-item.c
Examining data/goffice-0.10.48/goffice/canvas/goc-pixbuf.c
Examining data/goffice-0.10.48/goffice/canvas/goc-path.h
Examining data/goffice-0.10.48/goffice/canvas/goc-styled-item.h
Examining data/goffice-0.10.48/goffice/canvas/goc-utils.h
Examining data/goffice-0.10.48/goffice/canvas/goc-rectangle.c
Examining data/goffice-0.10.48/goffice/canvas/goc-line.c
Examining data/goffice-0.10.48/goffice/canvas/goc-line.h
Examining data/goffice-0.10.48/goffice/canvas/goc-polyline.c
Examining data/goffice-0.10.48/goffice/canvas/goc-canvas.c
Examining data/goffice-0.10.48/goffice/canvas/goc-graph.h
Examining data/goffice-0.10.48/goffice/canvas/goc-widget.c
Examining data/goffice-0.10.48/goffice/canvas/goc-structs.h
Examining data/goffice-0.10.48/goffice/canvas/goc-graph.c
Examining data/goffice-0.10.48/goffice/canvas/goc-rectangle.h
Examining data/goffice-0.10.48/goffice/canvas/goc-arc.c
Examining data/goffice-0.10.48/goffice/canvas/goc-polyline.h
Examining data/goffice-0.10.48/goffice/canvas/goc-polygon.h
Examining data/goffice-0.10.48/goffice/canvas/goc-text.c
Examining data/goffice-0.10.48/goffice/canvas/goc-group.c
Examining data/goffice-0.10.48/goffice/canvas/goc-circle.c
Examining data/goffice-0.10.48/goffice/canvas/goc-image.c
Examining data/goffice-0.10.48/goffice/canvas/goc-image.h
Examining data/goffice-0.10.48/goffice/canvas/goc-path.c
Examining data/goffice-0.10.48/goffice/canvas/goc-ellipse.c
Examining data/goffice-0.10.48/goffice/canvas/goc-ellipse.h
Examining data/goffice-0.10.48/goffice/canvas/goc-group.h
Examining data/goffice-0.10.48/goffice/canvas/goc-component.c
Examining data/goffice-0.10.48/goffice/goffice-features.h
Examining data/goffice-0.10.48/goffice/data/go-data-simple.h
Examining data/goffice-0.10.48/goffice/data/go-data-simple.c
Examining data/goffice-0.10.48/goffice/data/go-data.c
Examining data/goffice-0.10.48/goffice/data/go-data-impl.h
Examining data/goffice-0.10.48/goffice/data/goffice-data.h
Examining data/goffice-0.10.48/goffice/data/go-data.h
Examining data/goffice-0.10.48/goffice/goffice-debug.h
Examining data/goffice-0.10.48/goffice/math/go-quad.h
Examining data/goffice-0.10.48/goffice/math/go-fft.c
Examining data/goffice-0.10.48/goffice/math/go-distribution.h
Examining data/goffice-0.10.48/goffice/math/go-matrix3x3.c
Examining data/goffice-0.10.48/goffice/math/go-rangefunc.c
Examining data/goffice-0.10.48/goffice/math/go-accumulator.c
Examining data/goffice-0.10.48/goffice/math/go-math.h
Examining data/goffice-0.10.48/goffice/math/go-regression.h
Examining data/goffice-0.10.48/goffice/math/go-accumulator.h
Examining data/goffice-0.10.48/goffice/math/go-complex.c
Examining data/goffice-0.10.48/goffice/math/go-dtoa.h
Examining data/goffice-0.10.48/goffice/math/go-matrix.c
Examining data/goffice-0.10.48/goffice/math/go-cspline.c
Examining data/goffice-0.10.48/goffice/math/goffice-math.h
Examining data/goffice-0.10.48/goffice/math/go-matrix3x3.h
Examining data/goffice-0.10.48/goffice/math/go-fft.h
Examining data/goffice-0.10.48/goffice/math/go-quad.c
Examining data/goffice-0.10.48/goffice/math/go-cspline.h
Examining data/goffice-0.10.48/goffice/math/go-R.h
Examining data/goffice-0.10.48/goffice/math/go-matrix.h
Examining data/goffice-0.10.48/goffice/math/go-rangefunc.h
Examining data/goffice-0.10.48/goffice/math/go-math.c
Examining data/goffice-0.10.48/goffice/math/go-dtoa.c
Examining data/goffice-0.10.48/goffice/math/go-regression.c
Examining data/goffice-0.10.48/goffice/math/go-complex.h
Examining data/goffice-0.10.48/goffice/math/go-R.c
Examining data/goffice-0.10.48/goffice/math/go-distribution.c

FINAL RESULTS:

data/goffice-0.10.48/goffice/app/go-plugin-loader-module.c:296:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (res, id);
data/goffice-0.10.48/goffice/app/go-plugin-loader-module.c:297:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (res + idlen, suffix);
data/goffice-0.10.48/goffice/app/go-plugin.c:168:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		vprintf (format, args);
data/goffice-0.10.48/goffice/gtk/go-font-sel.c:227:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy (newname + prelen + dstlen, where + srclen);	\
data/goffice-0.10.48/goffice/gtk/go-locale-sel.c:479:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy (g_utf8_offset_to_pointer (locale, 50), ellipsis);
data/goffice-0.10.48/goffice/utils/go-file.c:287:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (simp + pstart, psimp);
data/goffice-0.10.48/goffice/utils/go-file.c:349:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (uri + len, rel_uri);
data/goffice-0.10.48/goffice/utils/go-format.c:3957:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				sprintf (fsecond, "%0*.0" FORMAT_f,
data/goffice-0.10.48/goffice/app/go-conf-keyfile.c:60:22:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
	const gchar *home = g_get_home_dir ();
data/goffice-0.10.48/goffice/graph/gog-axis-color-map.c:161:32:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
	full_name = g_build_filename (g_get_home_dir (), ".goffice", "colormaps", filename, NULL);
data/goffice-0.10.48/goffice/graph/gog-axis-color-map.c:1061:27:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
	path = g_build_filename (g_get_home_dir (), ".goffice", "colormaps", NULL);
data/goffice-0.10.48/goffice/graph/gog-theme.c:400:32:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
	full_name = g_build_filename (g_get_home_dir (), ".goffice", "themes", filename, NULL);
data/goffice-0.10.48/goffice/graph/gog-theme.c:1665:27:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
	path = g_build_filename (g_get_home_dir (), ".goffice", "themes", NULL);
data/goffice-0.10.48/goffice/gtk/goffice-gtk.c:1212:12:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
		hhctrl = LoadLibrary ("hhctrl.ocx");
data/goffice-0.10.48/goffice/utils/go-file.c:91:12:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
		urlmon = LoadLibrary ("urlmon.dll");
data/goffice-0.10.48/goffice/utils/go-glib-extras.c:823:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		char const *name = getenv ("NAME");
data/goffice-0.10.48/goffice/utils/goffice-utils.c:77:18:  [3] (random) g_rand_int:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	uuid.time_low = g_rand_int (grand);
data/goffice-0.10.48/goffice/utils/goffice-utils.c:78:28:  [3] (random) g_rand_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	uuid.time_mid = (guint16) g_rand_int_range (grand, 0, G_MAXUINT16);
data/goffice-0.10.48/goffice/utils/goffice-utils.c:79:39:  [3] (random) g_rand_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	uuid.time_hi_and_version = (guint16) g_rand_int_range (grand, 0, G_MAXUINT16);
data/goffice-0.10.48/goffice/utils/goffice-utils.c:80:39:  [3] (random) g_rand_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	uuid.clock_seq_hi_and_rsv = (guint8) g_rand_int_range (grand, 0, G_MAXUINT8);
data/goffice-0.10.48/goffice/utils/goffice-utils.c:81:32:  [3] (random) g_rand_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	uuid.clock_seq_low = (guint8) g_rand_int_range (grand, 0, G_MAXUINT8);
data/goffice-0.10.48/goffice/utils/goffice-utils.c:82:27:  [3] (random) g_rand_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	uuid.node_hi = (guint16) g_rand_int_range (grand, 0, G_MAXUINT16);
data/goffice-0.10.48/goffice/utils/goffice-utils.c:83:18:  [3] (random) g_rand_int:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	uuid.node_low = g_rand_int (grand);
data/goffice-0.10.48/goffice/app/file-priv.h:34:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	void      (*open)  (GOFileOpener const *fo,
data/goffice-0.10.48/goffice/app/file.c:449:29:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	GO_FILE_OPENER_METHOD (fo, open) (fo, opt_enc, io_context, view, input);
data/goffice-0.10.48/goffice/app/go-doc.c:661:63:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			map = GOG_AXIS_COLOR_MAP (gog_axis_color_map_get_from_id ((char const *) attrs[1]));
data/goffice-0.10.48/goffice/app/go-doc.c:674:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			theme = GOG_THEME (gog_theme_registry_lookup ((char const *) attrs[1]));
data/goffice-0.10.48/goffice/component/go-component.c:669:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			mime_type = (char const *) attrs[i+1];
data/goffice-0.10.48/goffice/component/go-component.c:671:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			width = go_ascii_strtod ((char const *) attrs[i+1], NULL);
data/goffice-0.10.48/goffice/component/go-component.c:673:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			height = go_ascii_strtod ((char const *) attrs[i+1], NULL);
data/goffice-0.10.48/goffice/component/go-component.c:725:69:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			state->component->snapshot_type = go_snapshot_type_from_string ((char const *) attrs[i+1]);
data/goffice-0.10.48/goffice/component/go-component.c:841:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(component->snapshot_data, gsf_output_memory_get_bytes ((GsfOutputMemory *) state.output), state.length);
data/goffice-0.10.48/goffice/component/go-component.c:975:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (new_data, component->data, component->length);
data/goffice-0.10.48/goffice/data/go-data-simple.c:41:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[G_ASCII_DTOSTR_BUF_SIZE];
data/goffice-0.10.48/goffice/data/go-data-simple.c:339:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (dst->val, src_val->val, src_val->n * sizeof (double));
data/goffice-0.10.48/goffice/data/go-data-simple.c:526:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (res->val, val, n * sizeof (double));
data/goffice-0.10.48/goffice/data/go-data-simple.c:929:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (dst->val, src_val->val, src_val->size.rows * src_val->size.columns * sizeof (double));
data/goffice-0.10.48/goffice/graph/gog-axis-color-map.c:244:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				state->map->id = g_strdup ((char const *) attrs[1]);
data/goffice-0.10.48/goffice/graph/gog-chart.c:195:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[G_ASCII_DTOSTR_BUF_SIZE];
data/goffice-0.10.48/goffice/graph/gog-color-scale.c:265:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		id = atoi (buf);
data/goffice-0.10.48/goffice/graph/gog-color-scale.c:302:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[16];
data/goffice-0.10.48/goffice/graph/gog-object.c:371:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[G_ASCII_DTOSTR_BUF_SIZE];
data/goffice-0.10.48/goffice/graph/gog-plot.c:228:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static const char *axis_labels[GOG_AXIS_TYPES] = {
data/goffice-0.10.48/goffice/graph/gog-theme.c:491:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				state->theme->id = g_strdup ((char const *) attrs[1]);
data/goffice-0.10.48/goffice/graph/gog-theme.c:706:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			if (strcmp ((char const *) attrs[1], "discrete")) {
data/goffice-0.10.48/goffice/graph/gog-theme.c:713:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				if (strcmp ((char const *) attrs[1], "both"))
data/goffice-0.10.48/goffice/graph/gog-view.c:71:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (res, alloc, sizeof (GogViewAllocation));
data/goffice-0.10.48/goffice/gtk/go-font-sel.c:225:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (newname, name, prelen);				\
data/goffice-0.10.48/goffice/gtk/go-font-sel.c:226:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (newname + prelen, (dst_), dstlen);		\
data/goffice-0.10.48/goffice/gtk/go-font-sel.c:596:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char txt[10];
data/goffice-0.10.48/goffice/gtk/go-format-sel.c:225:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy (g_utf8_offset_to_pointer (preview,
data/goffice-0.10.48/goffice/gtk/go-locale-sel.c:453:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy (p, ".utf8");
data/goffice-0.10.48/goffice/math/go-complex.c:100:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char suffix_buffer[2];
data/goffice-0.10.48/goffice/math/go-dtoa.c:107:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char pad[256];
data/goffice-0.10.48/goffice/math/go-dtoa.c:123:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char xdigits[16] = {
data/goffice-0.10.48/goffice/math/go-dtoa.c:139:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef char compiler_defines_long_double_incorrectly[9-(int)sizeof(long double)];
data/goffice-0.10.48/goffice/math/go-dtoa.c:154:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[9+LDBL_MANT_DIG/4], *s;
data/goffice-0.10.48/goffice/math/go-dtoa.c:157:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ebuf0[3*sizeof(int)], *ebuf=&ebuf0[3*sizeof(int)], *estr;
data/goffice-0.10.48/goffice/math/go-rangefunc.c:236:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (ys, xs, n * sizeof (DOUBLE));
data/goffice-0.10.48/goffice/math/go-regression.c:918:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (xss2 + 1, xss, dim * sizeof (DOUBLE *));
data/goffice-0.10.48/goffice/math/go-regression.c:1016:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (xss2 + 1, xss, dim * sizeof (DOUBLE *));
data/goffice-0.10.48/goffice/math/go-regression.c:1092:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (log_xss2 + 1, log_xss, dim * sizeof (DOUBLE *));
data/goffice-0.10.48/goffice/math/go-regression.c:1167:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (log_xss2 + 1, log_xss, dim * sizeof (DOUBLE *));
data/goffice-0.10.48/goffice/utils/datetime.c:41:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (res, dc, sizeof(GODateConventions));
data/goffice-0.10.48/goffice/utils/datetime.c:630:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[100];
data/goffice-0.10.48/goffice/utils/datetime.c:647:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[100];
data/goffice-0.10.48/goffice/utils/formats.c:77:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char const *fmts_date[50];
data/goffice-0.10.48/goffice/utils/formats.c:79:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char const *fmts_time[50];
data/goffice-0.10.48/goffice/utils/formats.c:348:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		g_free ((char *)(fmts_currency[i]));
data/goffice-0.10.48/goffice/utils/formats.c:353:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		g_free ((char *)(fmts_accounting[i]));
data/goffice-0.10.48/goffice/utils/go-emf.c:88:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (image->data, xin->content->str, image->data_length);
data/goffice-0.10.48/goffice/utils/go-emf.c:280:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (image->data, data, length);
data/goffice-0.10.48/goffice/utils/go-emf.c:842:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char facename[64];
data/goffice-0.10.48/goffice/utils/go-emf.c:1661:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tmp + 2, &bmpsize, 4);
data/goffice-0.10.48/goffice/utils/go-emf.c:1666:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tmp + 10, &bmpshift, 4);
data/goffice-0.10.48/goffice/utils/go-emf.c:1667:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tmp + 14, data, bmpsize - 14);
data/goffice-0.10.48/goffice/utils/go-emf.c:2436:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (tmp + 2, &bmpsize, 4);
data/goffice-0.10.48/goffice/utils/go-emf.c:2441:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (tmp + 10, &bmpshift, 4);
data/goffice-0.10.48/goffice/utils/go-emf.c:2442:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (tmp + 14, data, bmpsize - 14);
data/goffice-0.10.48/goffice/utils/go-emf.c:3128:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (state->curDC, state->dc_stack->data, sizeof (GOEmfDC));
data/goffice-0.10.48/goffice/utils/go-emf.c:3180:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char const *tmas[5] = {
data/goffice-0.10.48/goffice/utils/go-file.c:286:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (simp, uri, pstart);
data/goffice-0.10.48/goffice/utils/go-file.c:341:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (uri, ref_uri, len + 1);
data/goffice-0.10.48/goffice/utils/go-file.c:759:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (res, file_permissions, sizeof(GOFilePermissions));
data/goffice-0.10.48/goffice/utils/go-font.c:305:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char ucs[8];
data/goffice-0.10.48/goffice/utils/go-font.c:336:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (res, file_permissions, sizeof(GOFontMetrics));
data/goffice-0.10.48/goffice/utils/go-format.c:2835:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fill_utf8[7];
data/goffice-0.10.48/goffice/utils/go-format.c:2864:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (str->str + fill_pos, fill_utf8, fill_utf8_len);
data/goffice-0.10.48/goffice/utils/go-format.c:2898:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	exponent = atoi (epos + 1);
data/goffice-0.10.48/goffice/utils/go-format.c:2919:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (dot + nde, decimal->str, decimal->len);
data/goffice-0.10.48/goffice/utils/go-format.c:2962:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[2] = {'0',0};
data/goffice-0.10.48/goffice/utils/go-format.c:3799:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fsecond[PREFIX(DIG) + 10];
data/goffice-0.10.48/goffice/utils/go-format.c:4194:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				exponent = atoi (epos + 1);
data/goffice-0.10.48/goffice/utils/go-format.c:5998:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[16];
data/goffice-0.10.48/goffice/utils/go-format.c:6123:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				a = pango_attr_size_new (atoi (val));
data/goffice-0.10.48/goffice/utils/go-format.c:6131:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				a = pango_attr_rise_new (atoi (val));
data/goffice-0.10.48/goffice/utils/go-format.c:6146:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				a = pango_attr_style_new (atoi (val) ? PANGO_STYLE_ITALIC : PANGO_STYLE_NORMAL);
data/goffice-0.10.48/goffice/utils/go-format.c:6162:38:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				a = go_pango_attr_subscript_new (atoi (val));
data/goffice-0.10.48/goffice/utils/go-format.c:6167:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				a = go_pango_attr_superscript_new (atoi (val));
data/goffice-0.10.48/goffice/utils/go-format.c:6172:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				a = pango_attr_strikethrough_new (atoi (val) != 0);
data/goffice-0.10.48/goffice/utils/go-format.c:7640:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		d = atoi (integer);
data/goffice-0.10.48/goffice/utils/go-format.c:8323:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			fixed_denominator = atoi (xl);
data/goffice-0.10.48/goffice/utils/go-glib-extras.c:170:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[2] = { '\0', '\0' };
data/goffice-0.10.48/goffice/utils/go-glib-extras.c:312:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (target->str + pos, txt, cplen);
data/goffice-0.10.48/goffice/utils/go-libxml-extras.c:137:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[4 * sizeof (int)];
data/goffice-0.10.48/goffice/utils/go-libxml-extras.c:138:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (str, "%d", val);
data/goffice-0.10.48/goffice/utils/go-libxml-extras.c:165:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[101 + DBL_DIG];
data/goffice-0.10.48/goffice/utils/go-libxml-extras.c:204:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[4 * sizeof (val)];
data/goffice-0.10.48/goffice/utils/go-libxml-extras.c:207:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (str, "%X:%X:%X", r, g, b);
data/goffice-0.10.48/goffice/utils/go-locale.c:440:4:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			TCHAR str[2];
data/goffice-0.10.48/goffice/utils/go-mml-to-itex.c:97:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (*buf, itex + start, end);
data/goffice-0.10.48/goffice/utils/go-pixbuf.c:170:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (pixbuf->cairo_pixels, xin->content->str, MIN (length, expected));
data/goffice-0.10.48/goffice/utils/go-pixbuf.c:181:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (image->data, xin->content->str, length);
data/goffice-0.10.48/goffice/utils/go-spectre.c:109:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (image->data, xin->content->str, image->data_length);
data/goffice-0.10.48/goffice/utils/go-string.c:392:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy ((gpointer)(res + offset + 4), extra, len + 1);
data/goffice-0.10.48/goffice/utils/go-svg.c:71:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (image->data, xin->content->str, image->data_length);
data/goffice-0.10.48/goffice/utils/go-svg.c:218:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (image->data, data, length);
data/goffice-0.10.48/goffice/utils/regutf8.c:81:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (dst, err, copylen);
data/goffice-0.10.48/goffice/utils/regutf8.c:295:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[500];
data/goffice-0.10.48/plugins/lasem/component.c:325:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[component->length + 1];
data/goffice-0.10.48/plugins/lasem/component.c:326:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (buf, component->data, component->length);
data/goffice-0.10.48/plugins/reg_linear/gog-polynom-reg.c:35:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char minus_utf8[6];
data/goffice-0.10.48/plugins/reg_linear/gog-polynom-reg.c:92:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *const exponent[10] = {
data/goffice-0.10.48/goffice/app/go-conf-win32.c:326:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	go_conf_win32_set (node, key, REG_SZ, str, strlen (str) + 1);
data/goffice-0.10.48/goffice/app/go-conf-win32.c:332:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	go_conf_win32_set (node, key, REG_SZ, str, strlen (str) + 1);
data/goffice-0.10.48/goffice/app/go-plugin-loader-module.c:289:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t idlen = strlen (id);
data/goffice-0.10.48/goffice/app/go-plugin-loader-module.c:290:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t slen = strlen (suffix);
data/goffice-0.10.48/goffice/app/go-plugin-service.c:345:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		length = strlen (data);
data/goffice-0.10.48/goffice/graph/gog-axis-color-map.c:953:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t n = strlen (uri);
data/goffice-0.10.48/goffice/graph/gog-color-scale.c:260:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			index = strlen (buf) - 1;
data/goffice-0.10.48/goffice/graph/gog-styled-object.c:78:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			int i = strlen (cur_id) - 1;
data/goffice-0.10.48/goffice/graph/gog-theme.c:1168:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen (name) != 36 || name[8] != '-' || name[13] != '-' || name[18] !='-' || name[23] != '-') {
data/goffice-0.10.48/goffice/gtk/go-font-sel.c:222:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t srclen = strlen ((src_));			\
data/goffice-0.10.48/goffice/gtk/go-font-sel.c:223:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t dstlen = strlen ((dst_));			\
data/goffice-0.10.48/goffice/gtk/go-font-sel.c:224:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		char *newname = g_malloc (strlen (name) + dstlen - srclen + 1);	\
data/goffice-0.10.48/goffice/gtk/go-font-sel.c:752:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (*text == 0 || end != text + strlen (text) || errno == ERANGE)
data/goffice-0.10.48/goffice/gtk/go-locale-sel.c:478:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if ((size_t)g_utf8_strlen (locale, -1) > 50 + strlen (ellipsis))
data/goffice-0.10.48/goffice/gtk/goffice-gtk.c:221:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		GsfInput *src = gsf_input_memory_new (data, strlen (data), FALSE);
data/goffice-0.10.48/goffice/gtk/goffice-gtk.c:1342:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (G_IS_DIR_SEPARATOR (filename [strlen (filename) - 1]) ||
data/goffice-0.10.48/goffice/gtk/goffice-gtk.c:1782:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		next = selector + strlen (selector);
data/goffice-0.10.48/goffice/gtk/goffice-gtk.c:1811:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			next = selector + strlen (selector);
data/goffice-0.10.48/goffice/utils/datetime.c:615:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gsize len = strlen (buf);
data/goffice-0.10.48/goffice/utils/go-emf.c:86:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	image->data_length = gsf_base64_decode_simple (xin->content->str, strlen(xin->content->str));
data/goffice-0.10.48/goffice/utils/go-emf.c:1017:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	data = malloc (strlen (txt) * 2);
data/goffice-0.10.48/goffice/utils/go-emf.c:1018:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i = 0; i < strlen (txt); i++)
data/goffice-0.10.48/goffice/utils/go-emf.c:1020:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utxt =  g_utf16_to_utf8 (data, strlen (txt), NULL, NULL, NULL);
data/goffice-0.10.48/goffice/utils/go-emf.c:1057:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	data = malloc (strlen (txt) * 2);
data/goffice-0.10.48/goffice/utils/go-emf.c:1058:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i = 0; i < strlen (txt); i++)
data/goffice-0.10.48/goffice/utils/go-emf.c:1060:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	utxt =  g_utf16_to_utf8 (data, strlen (txt), NULL, NULL, NULL);
data/goffice-0.10.48/goffice/utils/go-emf.c:4197:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (font->facename, buf, 64);
data/goffice-0.10.48/goffice/utils/go-file.c:285:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	simp = g_new (char, pstart + strlen (psimp) + 1);
data/goffice-0.10.48/goffice/utils/go-file.c:336:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (ref_uri);
data/goffice-0.10.48/goffice/utils/go-file.c:340:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	uri = g_new (char, len + strlen (rel_uri) + 1);
data/goffice-0.10.48/goffice/utils/go-file.c:722:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	(void) go_guess_encoding (name, strlen (name),
data/goffice-0.10.48/goffice/utils/go-file.c:749:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	(void) go_guess_encoding (name, strlen (name),
data/goffice-0.10.48/goffice/utils/go-file.c:1071:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (std_ext != NULL && strlen (std_ext) > 0 && !user_ext && new_uri)
data/goffice-0.10.48/goffice/utils/go-file.c:1239:8:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							wcslen (wargs[i]) << 1,
data/goffice-0.10.48/goffice/utils/go-format.c:890:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (g_ascii_strncasecmp (str, name, strlen (name)) == 0) {
data/goffice-0.10.48/goffice/utils/go-format.c:902:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (color_txt);
data/goffice-0.10.48/goffice/utils/go-format.c:1045:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		general_len = strlen (general);
data/goffice-0.10.48/goffice/utils/go-format.c:1535:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				g_string_append_len (prg, lang, strlen (lang) + 1);
data/goffice-0.10.48/goffice/utils/go-format.c:2634:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen (prg);
data/goffice-0.10.48/goffice/utils/go-format.c:2650:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			prg += strlen (lang) + 1;
data/goffice-0.10.48/goffice/utils/go-format.c:3884:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			size_t len = strlen (prg);
data/goffice-0.10.48/goffice/utils/go-format.c:3923:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			prg += strlen (lang) + 1;
data/goffice-0.10.48/goffice/utils/go-format.c:4509:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				numpos_end += strlen (si_str);
data/goffice-0.10.48/goffice/utils/go-format.c:7524:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				start = str + strlen (str);
data/goffice-0.10.48/goffice/utils/go-format.c:7605:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		for (p = c_str + strlen (c_str); p > c_str && p[-1] == ' '; p--)
data/goffice-0.10.48/goffice/utils/go-format.c:7679:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			int len = strlen (str);
data/goffice-0.10.48/goffice/utils/go-glib-extras.c:309:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		newlen = strlen (txt);
data/goffice-0.10.48/goffice/utils/go-glib-extras.c:830:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(void) go_guess_encoding (name, strlen (name),
data/goffice-0.10.48/goffice/utils/go-glib-extras.c:853:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memset (passwd, 0, strlen (passwd));
data/goffice-0.10.48/goffice/utils/go-pango-extras.c:336:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (byte >= (gint)strlen (str))
data/goffice-0.10.48/goffice/utils/go-pango-extras.c:1019:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (text);
data/goffice-0.10.48/goffice/utils/go-pixbuf.c:157:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	length = gsf_base64_decode_simple (xin->content->str, strlen(xin->content->str));
data/goffice-0.10.48/goffice/utils/go-spectre.c:107:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	image->data_length = gsf_base64_decode_simple (xin->content->str, strlen(xin->content->str));
data/goffice-0.10.48/goffice/utils/go-string.c:193:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return str ? go_string_new_len (str, strlen (str)) : NULL;
data/goffice-0.10.48/goffice/utils/go-string.c:207:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return str ? go_string_new_nocopy_len (str, strlen (str)) : NULL;
data/goffice-0.10.48/goffice/utils/go-string.c:230:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		byte_len = strlen (str);
data/goffice-0.10.48/goffice/utils/go-string.c:389:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	guint32 len = strlen (extra);
data/goffice-0.10.48/goffice/utils/go-string.c:752:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen (t);
data/goffice-0.10.48/goffice/utils/go-string.c:756:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(ctext);
data/goffice-0.10.48/goffice/utils/go-string.c:773:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				memmove (tt + 1, tt + 2, strlen(tt + 2) + 1);
data/goffice-0.10.48/goffice/utils/go-svg.c:69:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	image->data_length = gsf_base64_decode_simple (xin->content->str, strlen(xin->content->str));
data/goffice-0.10.48/goffice/utils/regutf8.c:78:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	errlen = strlen (err);
data/goffice-0.10.48/goffice/utils/regutf8.c:471:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		GString *gres = g_string_sized_new (strlen (sr->replace_text));
data/goffice-0.10.48/goffice/utils/regutf8.c:621:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			int size = strlen (src) +
data/goffice-0.10.48/goffice/utils/regutf8.c:622:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				10 * strlen (sr->replace_text);
data/goffice-0.10.48/plugins/lasem/component.c:63:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size = strlen (itex);
data/goffice-0.10.48/plugins/lasem/component.c:296:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		*data = lsm_itex_to_mathml (buf, strlen (buf));
data/goffice-0.10.48/plugins/lasem/component.c:298:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		*length = strlen (*data);

ANALYSIS SUMMARY:

Hits = 191
Lines analyzed = 150367 in approximately 3.93 seconds (38228 lines/second)
Physical Source Lines of Code (SLOC) = 109816
Hits@level = [0]  14 [1]  68 [2] 100 [3]  15 [4]   8 [5]   0
Hits@level+ = [0+] 205 [1+] 191 [2+] 123 [3+]  23 [4+]   8 [5+]   0
Hits/KSLOC@level+ = [0+] 1.86676 [1+] 1.73927 [2+] 1.12006 [3+] 0.209441 [4+] 0.0728491 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.