- added fix for #246248 - firefox crashes when searching for word "do"
This commit is contained in:
parent
f4a4fd1616
commit
5c1d44cbf6
@ -12,9 +12,9 @@ diff -pruN -x '.moz*' -x .deps -x 'thunderbird*' -x '*.mk' -x 'config*' -x dist
|
|||||||
- PRInt32 i;
|
- PRInt32 i;
|
||||||
+ PRUint32 startOffset = 0;
|
+ PRUint32 startOffset = 0;
|
||||||
+ PRUint32 textWidth = 0;
|
+ PRUint32 textWidth = 0;
|
||||||
+ PRUint32 start = PR_MAX(0,(aDetails->mStart - (PRInt32)aIndex));
|
+ PRInt32 start = PR_MAX(0,(aDetails->mStart - (PRInt32)aIndex));
|
||||||
+ PRUint32 end = PR_MIN((PRInt32)aLength,(aDetails->mEnd - (PRInt32)aIndex));
|
+ PRInt32 end = PR_MIN((PRInt32)aLength,(aDetails->mEnd - (PRInt32)aIndex));
|
||||||
+ PRUint32 i;
|
+ PRInt32 i;
|
||||||
if ((start < end) && ((aLength - start) > 0))
|
if ((start < end) && ((aLength - start) > 0))
|
||||||
{
|
{
|
||||||
//aDetails allready processed to have offsets from frame start not content offsets
|
//aDetails allready processed to have offsets from frame start not content offsets
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
Summary: Mozilla Firefox Web browser.
|
Summary: Mozilla Firefox Web browser.
|
||||||
Name: firefox
|
Name: firefox
|
||||||
Version: 2.0.0.6
|
Version: 2.0.0.6
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
URL: http://www.mozilla.org/projects/firefox/
|
URL: http://www.mozilla.org/projects/firefox/
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
@ -438,6 +438,9 @@ fi
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 10 2007 Martin Stransky <stransky@redhat.com> 2.0.0.6-7
|
||||||
|
- added fix for #246248 - firefox crashes when searching for word "do"
|
||||||
|
|
||||||
* Thu Sep 6 2007 Christopher Aillon <caillon@redhat.com> - 2.0.0.6-6
|
* Thu Sep 6 2007 Christopher Aillon <caillon@redhat.com> - 2.0.0.6-6
|
||||||
- Fix default page for all locales
|
- Fix default page for all locales
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user