This is the mail archive of the sid@sources.redhat.com mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Add Logging Support for SID Components


Hi -

> This new patch replaces the previous one and addresses some of the 
> concerns below....

Addressing my suggestions was not intended as a prerequisite for
committing your previous version.

The new version seems to have at least one actual problem though:
the way that the buffer array is managed.  Its allocation/deallocation
strategy should be consistent (probably "new char[]" and "delete[] char")
regardless of the availability of the various *sprintf variants.  It should
probably not even be in #if/#endif markers.  The new code appears to be
able to hit free() even though malloc() was never called.

- FChE

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]