unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob a5afe64c567da3e36ff4a7c801a701c99153da4d 2061 bytes (raw)
name: gnu/packages/patches/icedove-CVE-2018-5148.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
 
This changeset from the upstream mozilla-esr52 repository was adapted
to apply to icedove, by prepending "mozilla/" to the file names.

# HG changeset patch
# User Nicolas Silva <nsilva@mozilla.com>
# Date 1520858160 -3600
# Node ID c3e447e07077412b9cfaacb2ea91974655ed753b
# Parent  bb8ae7990f45dd295b80a347b779bcc4690205fa
Bug 1440717 - Use RefPtr for CompositingRenderTargetOGL::mGL. r=Bas, a=ritu

--- a/mozilla/gfx/layers/opengl/CompositingRenderTargetOGL.cpp
+++ b/mozilla/gfx/layers/opengl/CompositingRenderTargetOGL.cpp
@@ -55,17 +55,17 @@ CompositingRenderTargetOGL::BindRenderTa
         mGL->RenewSurface(mCompositor->GetWidget()->RealWidget());
         result = mGL->fCheckFramebufferStatus(LOCAL_GL_FRAMEBUFFER);
       }
       if (result != LOCAL_GL_FRAMEBUFFER_COMPLETE) {
         nsAutoCString msg;
         msg.AppendPrintf("Framebuffer not complete -- CheckFramebufferStatus returned 0x%x, "
                          "GLContext=%p, IsOffscreen()=%d, mFBO=%d, aFBOTextureTarget=0x%x, "
                          "aRect.width=%d, aRect.height=%d",
-                         result, mGL, mGL->IsOffscreen(), mFBO, mInitParams.mFBOTextureTarget,
+                         result, mGL.get(), mGL->IsOffscreen(), mFBO, mInitParams.mFBOTextureTarget,
                          mInitParams.mSize.width, mInitParams.mSize.height);
         NS_WARNING(msg.get());
       }
     }
 
     needsClear = mClearOnBind;
   }
 
--- a/mozilla/gfx/layers/opengl/CompositingRenderTargetOGL.h
+++ b/mozilla/gfx/layers/opengl/CompositingRenderTargetOGL.h
@@ -179,17 +179,17 @@ private:
 
   InitParams mInitParams;
   /**
    * There is temporary a cycle between the compositor and the render target,
    * each having a strong ref to the other. The compositor's reference to
    * the target is always cleared at the end of a frame.
    */
   RefPtr<CompositorOGL> mCompositor;
-  GLContext* mGL;
+  RefPtr<GLContext> mGL;
   GLuint mTextureHandle;
   GLuint mFBO;
 };
 
 } // namespace layers
 } // namespace mozilla
 
 #endif /* MOZILLA_GFX_SURFACEOGL_H */


debug log:

solving a5afe64c5 ...
found a5afe64c5 in https://yhetil.org/guix-devel/8737084edp.fsf@netris.org/

applying [1/1] https://yhetil.org/guix-devel/8737084edp.fsf@netris.org/
diff --git a/gnu/packages/patches/icedove-CVE-2018-5148.patch b/gnu/packages/patches/icedove-CVE-2018-5148.patch
new file mode 100644
index 000000000..a5afe64c5

1:34: trailing whitespace.
 
1:37: trailing whitespace.
 
1:41: trailing whitespace.
 
1:54: trailing whitespace.
 
1:57: trailing whitespace.
 
Checking patch gnu/packages/patches/icedove-CVE-2018-5148.patch...
Applied patch gnu/packages/patches/icedove-CVE-2018-5148.patch cleanly.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.

index at:
100644 a5afe64c567da3e36ff4a7c801a701c99153da4d	gnu/packages/patches/icedove-CVE-2018-5148.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).