misc/167460: devel/libytnef: bad handling of PT_CLSID in TNEFFillMapi

Sean Bruno sbruno at FreeBSD.org
Mon Apr 30 19:30:10 UTC 2012


>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 at 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:


More information about the freebsd-bugs mailing list