[PULL] XQuartz hardening and static analysis cleanup

Jeremy Huddleston Sequoia jeremyhu at apple.com
Sun Jan 12 23:15:45 PST 2014


Ping.  I've rebased these against current master.

--Jeremy

On Jan 1, 2014, at 11:14, Jeremy Huddleston Sequoia <jeremyhu at apple.com> wrote:

> The following changes since commit 2ea973e12f5d954211e1d10085a4c74581b43aca:
> 
>  Bump version to 1.15.0 (2013-12-27 09:50:55 -0800)
> 
> are available in the git repository at:
> 
>  git://people.freedesktop.org/~jeremyhu/xserver master
> 
> for you to fetch changes up to 7160409207553404ae33eb5d5964b4d54d2adfcf:
> 
>  XQuartz: Avoid passing uninitialized pointers to X11ApplicationSetWindowMenu in AppleWMSetWindowMenu (2014-01-01 11:10:41 -0800)
> 
> ----------------------------------------------------------------
> Jeremy Huddleston Sequoia (11):
>      XQuartz: Silence some static analyzer warnings by annotating referencing counts
>      XQuartz: Fix darwinfb.h header guard
>      XQuartz: Fix get_proc_address signature
>      XQuartz: Mark applicationWillTerminate: noreturn
>      XQuartz: Simplify hook_run to quiet static analyzer
>      XQuartz: Validate screen in AppleDRIQueryDirectRenderingCapable requests
>      XQuartz: Validate length in appledri before swapping
>      XQuartz: Silence a clang static analysis warning about a possible memory leak on exit
>      XQuartz: Silence a clang static analysis warning about a memory leak
>      XQuartz: Check for allocated memory before using it in AppleWMSetWindowMenu
>      XQuartz: Avoid passing uninitialized pointers to X11ApplicationSetWindowMenu in AppleWMSetWindowMenu
> 
> hw/xquartz/GL/indirect.c       |  4 ++--
> hw/xquartz/X11Application.m    | 13 +++++++++++++
> hw/xquartz/X11Controller.m     |  2 +-
> hw/xquartz/applewm.c           | 16 ++++++++++++++++
> hw/xquartz/darwinfb.h          |  2 +-
> hw/xquartz/mach-startup/stub.c |  4 ++++
> hw/xquartz/quartz.c            |  3 +++
> hw/xquartz/xpr/appledri.c      | 10 ++++++++++
> hw/xquartz/xpr/x-hook.c        | 27 ++++++---------------------
> 9 files changed, 56 insertions(+), 25 deletions(-)
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4136 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140112/4c77ea46/attachment.bin>


More information about the xorg-devel mailing list