Andrew Eikum wrote:
Nikolay Sivov wrote:
Exactly, you should patch code too, not only tests. In this particular case it's better to check count first and return InvalidParameter and check for GdipAlloc result and return OutOfMemory if it's NULL.
Okay, excellent. I'll make the patch for GdipDrawCurve2 and send that off. Would it be a good idea to re-send the tests patch, or just refer to it in the patch email?
Just make it a single patch with GdipDrawCurve2 changes and tests in it.
Thank you! Andrew