On Tue, 03 Jun 2008, Chen Kedem wrote:

Hi Chen,

> I found the cause of the error.
> In contrib/gtwvg/wvtutils.c HB_FUNC( WIN_SENDMESSAGE )
> there is a code like:
[...]
> When you pass hb_parc( 4 ) as a parameter to hb_storc( szText, 4 ),
> the source is freed before it can be used.

Thank you very much for diagnose. If even in core code we are finding
such situations then I think it will be better if I'll fix it inside
hb_itemPutC() so it will be safe to overwrite the string.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to