[Lazarus] Bug in CodeTools define templates

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Mar 20 15:21:38 CET 2008


Tobias Giesen wrote:
> Hello,
> 
> there are one or two bugs in xmlreg.pp that can cause crashes.
> 
> I am talking about the xmlreg.pp in fpcsrc\packages\fcl-registry\src.
> 
> Around line 355, it is not verified whether Node.FirstChild is nil.
> 
> Around line 720, the function does not return any value.
> 
> I have copied the file into my project directory and made some fixes.
> Luckily, the fpc compiler now uses my version rather than the default
> version.
> 
> I don't know how to submit the fixes so I've put the updated file here:
> http://www.superflexible.com/xmlreg.pp
> 
> Cheers,
> Tobias Giesen

Was this fix ever applied to SVN?



More information about the Lazarus mailing list