Commit aef6c6df authored by Anton Gladky's avatar Anton Gladky

Add the second part of fix for CVE-2019-6246

parent c3d9e782
From 1ae3c0feea4b29d67d921046715f65c0994a0a07 Mon Sep 17 00:00:00 2001
From: svgpp <olegmax@gmail.com>
Date: Mon, 14 Jan 2019 22:54:32 +0300
Subject: [PATCH] #70 Fix for bug 2
---
src/demo/render/clip_buffer.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: svgpp/src/demo/render/clip_buffer.cpp
===================================================================
--- svgpp.orig/src/demo/render/clip_buffer.cpp
+++ svgpp/src/demo/render/clip_buffer.cpp
@@ -40,7 +40,7 @@ void ClipBuffer::intersectClipRect(trans
#if defined(RENDERER_AGG)
typedef agg::renderer_scanline_aa_solid<renderer_base_t> renderer_t;
- agg::rendering_buffer rbuf(&buffer_[0], width, height, width);
+ agg::rendering_buffer rbuf(&buffer_[0], width_, height_, width_);
pixfmt_t pixfmt(rbuf);
renderer_base_t renderer_base(pixfmt);
agg::scanline_p8 scanline;
10_fix_cmake.patch
20_check_image_buffer.patch
30_fix_rendering_buffer.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment