[cmake-developers] [CMake 0014889]: Cpack crashes when issuing a bad Wix Patch

Mantis Bug Tracker mantis at public.kitware.com
Fri Apr 18 11:16:17 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14889 
====================================================================== 
Reported By:                Nicolas H.
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14889
Category:                   CPack
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-04-18 11:16 EDT
Last Modified:              2014-04-18 11:16 EDT
====================================================================== 
Summary:                    Cpack crashes when issuing a bad Wix Patch
Description: 
i'm trying to patch a wix script with a bad xml id

Steps to Reproduce: 
reproduced on master (patch only implemented in cmake 3)

add SET(CPACK_WIX_PATCH_FILE file.xml) to your project
issue a bad xml fragment ID (on that wixGenerator cannot find)
cpack crash

Additional Information: 
there is an issue when creating cmCPackWIXGenerator object. Patch object is not
defined, so a null pointer is passed at construction time.
I've fixed it, patch is attached
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-04-18 11:16 Nicolas H.     New Issue                                    
2014-04-18 11:16 Nicolas H.     File Added:
0001-fixed-cpack-wix-patch-issue-due-to-bad-logger-initia.patch                 
  
======================================================================



More information about the cmake-developers mailing list