[PATCH] wineps.drv: properly handle the case when PageSizes list is empty

Lei Zhang thestig at google.com
Wed Sep 26 00:54:59 CDT 2007


Some broken printer drivers such as the Brother BRMFCFAX driver export
PPD files with all PageSize entries set in the following way:

*PageSize A4/A4: ""

Our PPD parser does not like this, and removes these entries from the
PageSizes list. As a result, the PageSizes list is empty. We don't
handle this case correctly and Wine crashes in PSDRV_UpdateDevCaps().
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-wineps.drv-properly-handle-the-case-when-PageSizes-list-is-empty.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20070925/e8b861ed/attachment-0001.txt 

More information about the wine-patches mailing list