diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-01-13 18:15:51 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-01-13 18:15:51 +0100 |
| commit | 59bf6dc059ca5f9e436d131e2a90d789644a670e (patch) | |
| tree | fd030d02caaba229e6d39ebb91a8c5aa59902211 /src/Fl_Window_Driver.H | |
| parent | a4b33f8e76b4ea528ed2746cadb8a3b000505606 (diff) | |
Fix "alloc-dealloc-mismatch" in Fl_Native_File_Chooser_Kdialog
Error was reported by Address Sanitizer (ASAN) when picking a file.
Platform: Unix/Linux.
==1734703==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x607000108420
#0 0x7f3357d846ef in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cc:168
#1 0x4e195f in Fl_Native_File_Chooser_Driver::strfree(char*) ../../src/Fl_Native_File_Chooser.cxx:262
...
0x607000108420 is located 0 bytes inside of 66-byte region [0x607000108420,0x607000108462)
allocated by thread T0 here:
#0 0x7f3357d0a3ed in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cc:445
#1 0x57951a in Fl_Kdialog_Native_File_Chooser_Driver::filter(char const*) ../../src/Fl_Native_File_Chooser_Kdialog.cxx:245
#2 0x4e14a0 in Fl_Native_File_Chooser::filter(char const*) ../../src/Fl_Native_File_Chooser.cxx:176
Diffstat (limited to 'src/Fl_Window_Driver.H')
0 files changed, 0 insertions, 0 deletions
