https://sourceforge.net/tracker/?func=detail&aid=3524147&group_id=105970
&atid=642714

 

 

Logged, though the more I think of it if an allocation fails the
probability of the error message being able to print is quite low. I'd
guess in the case where the string copy fails for a reason other than an
out of memory error this would still be valid.

 

From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Sunday, May 06, 2012 11:41 AM
To: wix-devs@lists.sourceforge.net
Subject: Re: [WiX-devs] Qustion about wixca:
XmlConfig:ReadXmlConfigTable, XmlFile:ReadXmlFileTable

 

On 05-May-12 19:32, Hoover, Jacob wrote: 

When looking in to extending wixca to be able to read Xml settings, I
noticed something I thought was a bit strange. The ExitOnFailure1 calls
following StringCchCopyW and StrAllocString are using the variable that
we are attempting to populate. Would  not make more sense to be using
pwzData instead to show the value we were trying to copy/allocate?

Yes. Depending on the error, the destination might not have any useful
data. Please file a bug so we can track it.




-- 
sig://boB
http://joyofsetup.com/
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to