Custom Query (8164 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (334 - 336 of 8164)

Ticket Resolution Summary Owner Reporter
#12274 rejected Buffer overflow when wrongly using `memcpy` arya_lee
Description

In the latest source code /tests/dirparsertest.cpp, there is a buffer overflow in function DirectoryListingParserTest::testIndividual().
len is the length of entry.data, not including the null character. So the sizeof(data) is len. According to the reference of memcpyhttp://www.cplusplus.com/reference/cstring/memcpy/, we need to make sure the 1st parameter of memcpy is larger than strlen(2nd parameter)+1(1 means the null-character.) So we should change 1475 to char* data = new char[len+1]; data[len]=0;

To avoid overflows, the size of the array pointed by destination shall be long enough to contain the same C string as source (including the terminating null character), and should not overlap in memory with source.

1474	    size_t const len = entry.data.size();
1475	    char* data = new char[len];
1476	    memcpy(data, entry.data.c_str(), len);
#12271 outdated The Delete and Backspace keys are ignored in various fields Alan Howlett
Description

Delete and backspace keys do not work for:

Site Manager, Site Name, "Host" "Port" Change the Logon Type to Normal, then "User" has the same issue. "Comments"

These keys work perfectly for other sites, including in this field I am typing right now.

#12270 outdated assert "m_indexMapping.size() == pDirectoryListing->GetCount() + 1" failed in UpdateDirectoryListing_Removed(). ruakzilla
Description

I'm attempting to delete a folder with one or more pdf files in it. There are currenlty 7,854 directories in /pdfs. I've done this many times before without issue.

Ex. path. "../pdfs/347555/347555.1588361310.pdf"

The error seems to occur *after* deletion when it attempts to update the directory listing.

ASSERT INFO: RemoteListView.cpp(652): assert "m_indexMapping.size() == pDirectoryListing->GetCount() + 1" failed in UpdateDirectoryListing_Removed().

BACKTRACE: [1] wxEvtHandler::TryHereOnly(wxEvent&) [2] wxEvtHandler::ProcessEventLocally(wxEvent&) [3] wxEvtHandler::ProcessEvent(wxEvent&) [4] wxEvtHandler::ProcessPendingEvents() [5] wxAppConsoleBase::ProcessPendingEvents() [6] wxApp::DoIdle() [7] g_main_context_dispatch [8] g_main_loop_run [9] gtk_main [10] wxGUIEventLoop::DoRun() [11] wxEventLoopBase::Run() [12] wxAppConsoleBase::MainLoop() [13] wxEntry(int&, wchar_t) [14] libc_start_main


FileZilla Client


Version: 3.28.0

Build information:

Compiled for: x86_64-pc-linux-gnu Compiled on: x86_64-pc-linux-gnu Build date: 2017-10-29 Compiled with: gcc (Ubuntu 7.2.0-12ubuntu1) 7.2.0 Compiler flags: -g -O2 -fdebug-prefix-map=/build/filezilla-YKhf0t/filezilla-3.28.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall

Linked against:

wxWidgets: 3.0.3 SQLite: 3.22.0 GnuTLS: 3.5.18

Operating system:

Name: Linux 4.15.0-117-generic x86_64 Version: 4.15 CPU features: sse sse2 sse3 ssse3 sse4.1 sse4.2 avx avx2 aes pclmulqdq rdrnd bmi2 bmi2 adx Settings dir: /home/.../.config/filezilla/


uname -a


Linux NUC-1 4.15.0-117-generic #118-Ubuntu SMP Fri Sep 4 20:02:41 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a


No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.