18.11.2020 17:49, Dimitry Sibiryakov wrote:
   How long pointer returned from IStatus::getErrors() is supposed to be valid?

  I think I found a weird case. In Y-valve there is code like this:

  status.setErrors(status.getErrors());

During such self assignment returned pointer can be invalidated by setErrors() code before using input parameter which may cause crash or wrong result.

--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to