Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
gnuplot.9629
gnuplot-CVE-2017-9670.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnuplot-CVE-2017-9670.patch of Package gnuplot.9629
From 4e39b1d7b274c7d4a69cbaba85ff321264f4457e Mon Sep 17 00:00:00 2001 From: sfeam <sfeam> Date: Thu, 15 Jun 2017 05:36:02 +0000 Subject: [PATCH] initialize variable indicated as suspect by compiler option -Wuninitialized --- src/axis.c | 1 + src/plot2d.c | 3 ++- src/set.c | 1 + term/emf.trm | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) --- src/axis.c +++ src/axis.c 2017-06-19 11:51:08.735159379 +0000 @@ -1128,6 +1128,7 @@ gen_tics(AXIS_INDEX axis, tic_callback c if (axis == POLAR_AXIS) { /* Defer translation until after limit check */ internal = tic; + user = tic; } else if (!axis_array[axis].log) { internal = (axis_array[axis].datatype == DT_TIMEDATE) ? time_tic_just(timelevel[axis], tic) --- src/plot2d.c +++ src/plot2d.c 2017-06-19 11:48:49.685743203 +0000 @@ -1781,7 +1781,8 @@ static void eval_plots() { int i; - struct curve_points *this_plot, **tp_ptr; + struct curve_points *this_plot = NULL; + struct curve_points **tp_ptr; t_uses_axis uses_axis[AXIS_ARRAY_SIZE]; int some_functions = 0; int plot_num, line_num, point_num; --- src/set.c +++ src/set.c 2017-06-19 11:48:49.689743129 +0000 @@ -5440,6 +5440,7 @@ load_tic_series(AXIS_INDEX axis) if (!equals(c_token, ",")) { /* only step specified */ + incr_token = c_token; incr = start; start = -VERYLARGE; end = VERYLARGE; --- term/emf.trm +++ term/emf.trm 2017-06-19 11:48:49.689743129 +0000 @@ -1318,7 +1318,7 @@ EMF_put_text(unsigned int x, unsigned in int nchars = slen; #ifdef HAVE_ICONV - char * wstr; + char * wstr = 0; if (encoding == S_ENC_UTF8 || encoding == S_ENC_SJIS) { iconv_t cd; size_t wsize, wlen, mblen;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor