Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KTorrent
Commits
b2bd73d8
Commit
b2bd73d8
authored
May 11, 2009
by
Joris Guisson
Browse files
Backport crash fix from trunk
svn path=/branches/stable/extragear-kde4/network/ktorrent/; revision=966411
parent
57a1ed6f
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
b2bd73d8
...
...
@@ -12,6 +12,7 @@ Changes in 3.2.2 :
- Cancel all scan dialogs before exiting, this fixes a crash (191487)
- Config dialog now embeds pages in scroll areas, so that the dialog also is useable on small screens
- Make sure dbus names are valid, this fixes an assert (192007)
- Fix crash when parsing DHT packets (190107)
Changes in 3.2.1 :
- Resort torrents if display name is changed
...
...
libbtcore/bcodec/bdecoder.cpp
View file @
b2bd73d8
...
...
@@ -192,7 +192,7 @@ namespace bt
bool
ok
=
true
;
int
len
=
0
;
len
=
n
.
toInt
(
&
ok
);
if
(
!
ok
)
if
(
!
ok
||
len
<
0
)
{
throw
Error
(
i18n
(
"Cannot convert %1 to an int"
,
n
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment