Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2012 19:26:11 GMT
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/167460: devel/libytnef: bad handling of PT_CLSID in TNEFFillMapi
Message-ID:  <201204301926.q3UJQBF6093371@red.freebsd.org>
Resent-Message-ID: <201204301930.q3UJU9HY026789@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         167460
>Category:       misc
>Synopsis:       devel/libytnef: bad handling of PT_CLSID in TNEFFillMapi
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 30 19:30:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Sean Bruno
>Release:        9-stable
>Organization:
FreeBSD 
>Environment:
FreeBSD powernoodle-l7 9.0-STABLE FreeBSD 9.0-STABLE #0 r233925: Thu Apr  5 11:34:25 PDT 2012     root@pcbsd-4855:/usr/obj/usr/home/sbruno/bsd/9/sys/GENERIC  amd64

>Description:
devel/libytnef/ytnef.c has incomplete handling of the PT_CLSID type and will spin off and crash applications attempting to use it.

Patch attached properly handles the GUID data structure via hardcoded magic values.

Fix ideas were liberally stolen from the MSDN docs and wine.org handling code.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204301926.q3UJQBF6093371>