out of memory if share contains broken directory names
Bug #300728 reported by
Alexander Sashnov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DC++ |
Fix Released
|
Low
|
Unassigned | ||
LinuxDC++ |
Confirmed
|
High
|
Unassigned |
Bug Description
linuxdcpp-1.0.2
Filesystem: ext3 utf8
Default hub encoding: CP1251 (Cyrillic)
All works fine until I create on share directory with name in broken encoding.
Linuxdcpp eat all memory (RSS size more than 700 mb) and killed by OOM.
Changed in linuxdcpp: | |
importance: | Undecided → High |
Changed in dcplusplus: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
Well... This looks oddly familiar.
https:/ /developer. berlios. de/patch/ index.php? func=detailpatc h&patch_ id=2353& group_id= 2230
And probably has the same problem still. The question is if it's better to crash the client or share something that wasn't intended? Or even better, fix the problem so that neither occurs.
--RZ