Menu ▾ ▴

#521 In CoolPrj, TEnumFormatEtc::Clone doesn't release pNew in some cases

7
pending
1
5 days ago
2022-01-13
No

In coolprj/dragdrop.cpp, at function TEnumFormatEtc::Clone, if pNew->DataArray = new TFormatEtc[DataSize] fails the function returns without freeing pNew
Based on report by https://www.fly-server.ru/pvs-studio/owlnext/sources/dragdrop.cpp_41.html#ln1286

Related

Discussion: Preparing OWLNext 7.0.7, 6.44.17 and 6.36.6 updates
Feature Requests: #286
Wiki: OWLNext_7_Series_Revision_History

Discussion

  • Sebastian Ledesma

    Solved in [r5734]

     
    👍
    1

    Related

    Commit: [r5734]

  • Vidar Hasfjord

    Vidar Hasfjord - 2022-01-13
    • labels: coolprj --> coolprj, Leak, Internal
    • summary: TEnumFormatEtc::Clone dont release pNew in some cases --> In CoolPrj, TEnumFormatEtc::Clone doesn't release pNew in some cases
     
  • Vidar Hasfjord

    Vidar Hasfjord - 2023-09-10
    • status: open --> pending
     
  • Vidar Hasfjord

    Vidar Hasfjord - 2025-07-14
    • labels: coolprj, Leak, Internal --> Leak, Internal, CoolPrj
     
  • Vidar Hasfjord

    Vidar Hasfjord - 2025-10-04
    • Status: pending --> closed
     
  • Vidar Hasfjord

    Vidar Hasfjord - 2026-03-31
    • Status: closed --> pending
     
  • Ognyan Chernokozhev

    • Group: 8 --> 7
     

Log in to post a comment.