...
 
Commits (5)
svgpp (1.2.3+dfsg1-4) UNRELEASED; urgency=medium
svgpp (1.2.3+dfsg1-4) unstable; urgency=medium
[ Ondřej Nový ]
* d/control: Deprecating priority extra as per policy 4.0.1
* Use 'python3 -m sphinx' instead of sphinx-build for building docs
* d/control: Remove Testsuite field, not needed anymore
* d/control: Set Vcs-* to salsa.debian.org
-- Ondřej Nový <onovy@debian.org> Mon, 01 Oct 2018 10:31:03 +0200
[ Anton Gladky ]
* [5d0f0bc] Fix CVE-2019-6246. (Closes: #919321)
* [f3060a6] Set compat level 11
* [a3e759c] Fix some privacy-breaches
[ Matthias Klose ]
* [60dacd9] autopkg tests: Build with -g1, same as done for the build.
(Closes: #884700)
-- Anton Gladky <gladk@debian.org> Mon, 21 Jan 2019 22:41:04 +0100
svgpp (1.2.3+dfsg1-3) unstable; urgency=medium
......
......@@ -3,7 +3,7 @@ Maintainer: Anton Gladky <gladk@debian.org>
Section: libs
Priority: optional
Build-Depends: cmake,
debhelper (>= 10),
debhelper (>= 11~),
googletest,
libagg-dev,
libboost-dev,
......@@ -12,7 +12,7 @@ Build-Depends: cmake,
python3-sphinx-rtd-theme,
python3-sphinx,
sphinx-common
Standards-Version: 4.1.0
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/debian/svgpp
Vcs-Git: https://salsa.debian.org/debian/svgpp.git
Homepage: https://github.com/svgpp/svgpp
......
......@@ -7,5 +7,5 @@ Abstract: The library can be thought of as a framework, containing parsers for
Section: Programming/C++
Format: HTML
Index: /usr/share/doc/libsvgpp-doc/html/index.html
Files: /usr/share/doc/libsvgpp-doc/html/*.html
Index: //usr/share/doc/libsvgpp-dev/html/index.html
Files: /usr/share/doc/libsvgpp-dev/html/*.html
From 3bb3e86e09ceeba226593e039f9d4dc4b2580101 Mon Sep 17 00:00:00 2001
From: svgpp <olegmax@gmail.com>
Date: Sun, 13 Jan 2019 20:20:19 +0300
Subject: [PATCH] #70 Check that image buffer is created on error
Combined patch from 3bb3e86e09ceeba226593e039f9d4dc4b2580101 and
fc54d7d3b7b14d81a5d81cc112d81fff6140362b
---
src/demo/render/svgpp_render.cpp | 4 ++++
1 file changed, 4 insertions(+)
Index: svgpp/src/demo/render/svgpp_render.cpp
===================================================================
--- svgpp.orig/src/demo/render/svgpp_render.cpp
+++ svgpp/src/demo/render/svgpp_render.cpp
@@ -1691,6 +1691,10 @@ int main(int argc, char * argv[])
<< "\"";
#endif
std::cerr << ": " << e.what() << "\n";
+ if (!buffer.isSizeSet()) {
+ // Buffer isn't created yet - nothing to save, exiting.
+ return 1;
+ }
}
catch(std::exception const & e)
{
10_fix_cmake.patch
20_check_image_buffer.patch
......@@ -24,5 +24,6 @@ override_dh_auto_clean:
override_dh_sphinxdoc-indep:
dh_sphinxdoc
find debian/libsvgpp-doc/usr/share/doc/libsvgpp-doc/html -type f -print0 | xargs -0 sed -i 's/https:\/\/cdn\.mathjax\.org\/mathjax\/latest/\/usr\/share\/javascript\/mathjax/g'
rm -rf debian/libsvgpp-doc/usr/share/doc/libsvgpp-doc/html/_sources/license.txt
find debian/libsvgpp-doc/ -type f -print0 | xargs -0 sed -i 's/https:\/\/cdn\.mathjax\.org\/mathjax\/latest/\/usr\/share\/javascript\/mathjax/g'
find debian/libsvgpp-doc/ -type f -print0 | xargs -0 sed -i 's/https:\/\/cdnjs\.cloudflare\.com\/ajax\/libs\/mathjax\/2\.7\.1/\/usr\/share\/javascript\/mathjax\//g'
rm -rf debian/libsvgpp-doc/usr/share/doc/libsvgpp-dev/html/_sources/license.txt
......@@ -12,7 +12,7 @@ trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
cp -r src/samples/$SRC $WORKDIR/
cd $WORKDIR
g++ $SRC
g++ -g1 $SRC
echo "build: OK"
[ -x a.out ]
ls -l
......
......@@ -12,7 +12,7 @@ trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
cp -r src/samples/$SRC $WORKDIR/
cd $WORKDIR
g++ $SRC
g++ -g1 $SRC
echo "build: OK"
[ -x a.out ]
ls -l
......
......@@ -12,7 +12,7 @@ trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
cp -r src/samples/$SRC $WORKDIR/
cd $WORKDIR
g++ $SRC
g++ -g1 $SRC
echo "build: OK"
[ -x a.out ]
ls -l
......