diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-10-24 16:59:29 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-10-24 16:59:29 +0000 |
commit | 9f1d2b3d257e1e6d68f9e56778e81fc71531bf7e (patch) | |
tree | c7d84b2a1af3abea964fa28df627fd274fb2e998 | |
parent | da2807db70862c9352573181e3db1472a379047f (diff) | |
download | netpbm-mirror-9f1d2b3d257e1e6d68f9e56778e81fc71531bf7e.tar.gz netpbm-mirror-9f1d2b3d257e1e6d68f9e56778e81fc71531bf7e.tar.xz netpbm-mirror-9f1d2b3d257e1e6d68f9e56778e81fc71531bf7e.zip |
Fix uninitialized variable from recent cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4775 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | converter/other/pamtosvg/fit.c | 7 | ||||
-rw-r--r-- | doc/HISTORY | 9 |
2 files changed, 11 insertions, 5 deletions
diff --git a/converter/other/pamtosvg/fit.c b/converter/other/pamtosvg/fit.c index ec579584..9c6f20d4 100644 --- a/converter/other/pamtosvg/fit.c +++ b/converter/other/pamtosvg/fit.c @@ -1284,7 +1284,8 @@ computeCX(Curve * const curveP, unsigned int pointSeq; - cP->beg.beg = 0.0; cP->beg.end = 0.0; cP->end.end = 0.0;/* initial value */ + cP->beg.beg = 0.0; cP->beg.end = 0.0; cP->end.beg = 0.0; cP->end.end = 0.0; + /* initial value */ xP->beg = 0.0; xP->end = 0.0; /* initial value */ @@ -1800,8 +1801,8 @@ divideAndFit(Curve * const curveP, static spline_list_type * fitWithLeastSquares(Curve * const curveP, - Vector const begSlope, - Vector const endSlope, + Vector const begSlope, + Vector const endSlope, const fitting_opts_type * const fittingOptsP, at_exception_type * const exceptionP) { /*---------------------------------------------------------------------------- diff --git a/doc/HISTORY b/doc/HISTORY index 9269ef8e..9b35b017 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -6,12 +6,17 @@ CHANGE HISTORY not yet BJH Release 11.05.00 - ppmtopcxl: fix incorrect output with > 256 colors. Always - broken. (Program was added in primordial Netpbm in 1990). + pamtosvg: fix "zero determinant" failure. Introduced in + Netpbm 11.04 (September 2023). pjtoppm: fix crash based on uninitialized variable. Introduced in Netpbm 11.04 (September 2023). + ppmtopcxl: fix incorrect output with > 256 colors. Always + broken. (Program was added in primordial Netpbm in 1990). + + pbmtext: fix buffer overrun with insanely large input. + picttoppm: fix buffer overrun with insanely wide input. ppmtoxpm: fix incorrect output with insanely large number of |