Remote crash when user downloads from merged share
Bug #480065 reported by
E_zombie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DC++ |
Invalid
|
Critical
|
Unassigned | ||
LinuxDC++ |
Fix Released
|
Critical
|
Steven Sheehy |
Bug Description
revno: 337
$ linuxdcpp
Loading: Hash database
Loading: Shared Files
Loading: Download Queue
terminate called after throwing an instance of 'std::length_error'
what(): basic_string:
Аварийный останов (core dumped)
core+linuxdcpp
Related branches
Changed in linuxdcpp: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Is this reproducible? It seems to crash when someone searches your share. Any idea what they searched for and on what share item it crashed? It would be nice if we could add some print outs to determine those.
std::length_error is thrown when string attempted to be created that is greater than its maximum possible size. It looks like it occurs when generating the search result path, but I don't think it's possible that you are sharing a path that is greater than 4611686018427387897 characters.
Also, your executable is i386 (I'm x86-64) and is not in debug mode so I am not able to see all symbols. It would be preferable if you compiled it in debug mode, reproduced it, and attached the output of "backtrace full" as a text file to this bug.