On Wed, Apr 15, 2009 at 4:34 PM, Nicolas Le Cam niko.lecam@gmail.com wrote:
While trying to solve ACTION_AppSearchDr problem revealed by my previous patch, I discovered that MSI_RecordGetStringW was returning a buffer length of 1 on null and empty strings.
Here is the test, the fix follows.
Tested on WinXP and Wine.
This patch has 39 lines of test code without a single empty line. Unit tests test one thing at a time and should be well documented and easy to read.