mirror of
https://github.com/lexborisov/Modest
synced 2024-11-22 05:41:32 +03:00
Fixed for problem with infinity loop in function myencoding_prescan_stream_to_determine_encoding
This commit is contained in:
parent
7e2ed5fb1a
commit
c94f7ed117
@ -896,9 +896,9 @@ size_t myencoding_prescan_stream_to_determine_encoding_skip_other(const unsigned
|
||||
if(udata[length] != 0x3E) {
|
||||
if(udata[(length - 1)] == 0x2D && udata[(length - 2)] == 0x2D)
|
||||
return (length + 1);
|
||||
|
||||
length++;
|
||||
}
|
||||
|
||||
length++;
|
||||
}
|
||||
|
||||
return length;
|
||||
|
Loading…
Reference in New Issue
Block a user