Skip to content

Conversation

@booknouse
Copy link

psf.cc,remote redundant close in destructor,because it would be called in ~PSFFile.psfile.cc, use new validate method, and add m_buffer's NULL judgement to Make the close method reentrant(cause crash).psfinternal.h, add ~PropertyBlock method, new validate method to PSFFile and change m_size to ssize_t.psfpropertyblock.cc, delete pointers in m_propmap to avoid memory leaks.

…d in ~PSFFile.psfile.cc, use new validate method, and add m_buffer's NULL judgement to Make the close method reentrant(cause crash).psfinternal.h, add ~PropertyBlock method, new validate method to PSFFile and change m_size to ssize_t.psfpropertyblock.cc, delete pointers in m_propmap to avoid memory leaks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant