Projects
Essentials
lightspark
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 77
View file
lightspark.spec
Changed
@@ -24,14 +24,13 @@ %endif Name: lightspark -Version: 0.7.2.99+git20150823.1908 +Version: 0.7.2.99+git20150906.1640 Release: 0 Summary: Modern, free, open-source flash player implementation License: LGPL-3.0+ Group: Productivity/Multimedia/Other Url: https://launchpad.net/lightspark/ Source0: lightspark.tar.xz -Patch: use_strcmp.diff BuildRequires: boost-devel BuildRequires: cmake BuildRequires: desktop-file-utils @@ -90,7 +89,6 @@ %prep %setup -q -n %{name} -%patch -p1 %build export CFLAGS='%{optflags}'
View file
use_strcmp.diff
Deleted
@@ -1,43 +0,0 @@ -diff --git a/src/parsing/crossdomainpolicy.cpp b/src/parsing/crossdomainpolicy.cpp -index 57b45fd..0e52107 100644 ---- a/src/parsing/crossdomainpolicy.cpp -+++ b/src/parsing/crossdomainpolicy.cpp -@@ -35,7 +35,7 @@ CrossDomainPolicy::ELEMENT CrossDomainPolicy::getNextElement() - { - if (first) - { -- if (xml.root().name() != "cross-domain-policy") -+ if (strcmp(xml.root().name(), "cross-domain-policy")) - return INVALID; - currentnode = xml.root().first_child(); - } -@@ -83,12 +83,12 @@ CrossDomainPolicy::ELEMENT CrossDomainPolicy::getNextElement() - toPorts = currentnode.attribute("to-ports").value(); - secure = false; - secureSpecified = false; -- if(currentnode.attribute("secure").value() == "false") -+ if(!strcmp(currentnode.attribute("secure").value(), "false")) - { - secure = false; - secureSpecified = true; - } -- else if(currentnode.attribute("secure").value() == "true") -+ else if(!strcmp(currentnode.attribute("secure").value(), "true")) - { - secure = true; - secureSpecified = true; -@@ -113,12 +113,12 @@ CrossDomainPolicy::ELEMENT CrossDomainPolicy::getNextElement() - headers = currentnode.attribute("headers").value(); - secure = false; - secureSpecified = false; -- if(currentnode.attribute("secure").value() == "false") -+ if(!strcmp(currentnode.attribute("secure").value(), "false")) - { - secure = false; - secureSpecified = true; - } -- else if(currentnode.attribute("secure").value() == "true") -+ else if(!strcmp(currentnode.attribute("secure").value(), "true")) - { - secure = true; - secureSpecified = true;
View file
lightspark.tar.xz/src/backends/security.cpp
Changed
@@ -587,8 +587,6 @@ //http://forums.adobe.com/thread/422391) if(url.isRTMP()) return ALLOWED; - if(url.isValid()) - return ALLOWED; LOG(LOG_INFO, _("SECURITY: Evaluating URL for cross domain policies:")); LOG(LOG_INFO, _("SECURITY: --> URL: ") << url);
View file
lightspark.tar.xz/src/parsing/crossdomainpolicy.cpp
Changed
@@ -35,7 +35,7 @@ { if (first) { - if (xml.root().name() != "cross-domain-policy") + if (strcmp(xml.root().name(), "cross-domain-policy")) return INVALID; currentnode = xml.root().first_child(); } @@ -83,12 +83,12 @@ toPorts = currentnode.attribute("to-ports").value(); secure = false; secureSpecified = false; - if(currentnode.attribute("secure").value() == "false") + if(!strcmp(currentnode.attribute("secure").value(), "false")) { secure = false; secureSpecified = true; } - else if(currentnode.attribute("secure").value() == "true") + else if(!strcmp(currentnode.attribute("secure").value(), "true")) { secure = true; secureSpecified = true; @@ -113,12 +113,12 @@ headers = currentnode.attribute("headers").value(); secure = false; secureSpecified = false; - if(currentnode.attribute("secure").value() == "false") + if(!strcmp(currentnode.attribute("secure").value(), "false")) { secure = false; secureSpecified = true; } - else if(currentnode.attribute("secure").value() == "true") + else if(!strcmp(currentnode.attribute("secure").value(), "true")) { secure = true; secureSpecified = true;
View file
lightspark.tar.xz/src/scripting/toplevel/Array.cpp
Changed
@@ -1492,19 +1492,14 @@ } if(cur_index<size()) return cur_index+1; - else - return 0; } + //Fall back on object properties + uint32_t ret=ASObject::nextNameIndex(cur_index-size()); + if(ret==0) + return 0; else - { - //Fall back on object properties - uint32_t ret=ASObject::nextNameIndex(cur_index-size()); - if(ret==0) - return 0; - else - return ret+size(); - - } + return ret+size(); + } _R<ASObject> Array::nextName(uint32_t index)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.