splash/Splash.cc |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 3e61c7523416157acadec7fe59429f880a9d0310
Author: William Bader <[email protected]>
Date:   Wed Aug 19 23:01:41 2015 +0200

    Splash: Fix wrong memory access
    
    Bug #91686

diff --git a/splash/Splash.cc b/splash/Splash.cc
index e07fa06..7453822 100644
--- a/splash/Splash.cc
+++ b/splash/Splash.cc
@@ -3208,6 +3208,8 @@ void Splash::arbitraryTransformMask(SplashImageMaskSource 
src, void *srcData,
                                 ((SplashCoord)y + 0.5 - section[i].yb0) *
                                   section[i].dxdyb,
                               glyphMode);
+      if (unlikely(xa < 0))
+        xa = 0;
       // make sure narrow images cover at least one pixel
       if (xa == xb) {
        ++xb;
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to