Hi,

Przemysław Czerpak wrote:
But the problem can be exploited if you change the last line of your
code to:
    NETIO_DECODE(@cI,,,,@cI)
in such case the reference counter for the string item stored in cI is 1
and any assignment to the 1-st or the 5-th parameter can damage both
pointers previously returned by hb_parc( 1 ) and hb_parc( 5 ).

So, this should be also fixed. NETIO_DECODE(@cI,,,,@cI) sounds a little nonsense, but it could be result of typo and generate GPF, corrupt memory, etc.


Regards,
Mindaugas

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to