diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llxml/llcontrol.cpp | 1 | ||||
-rw-r--r-- | linden/indra/llxml/llcontrol.h | 1 | ||||
-rw-r--r-- | linden/indra/llxml/llxmlnode.cpp | 5 | ||||
-rw-r--r-- | linden/indra/llxml/llxmlnode.h | 1 | ||||
-rw-r--r-- | linden/indra/llxml/llxmlparser.cpp | 9 | ||||
-rw-r--r-- | linden/indra/llxml/llxmlparser.h | 1 | ||||
-rw-r--r-- | linden/indra/llxml/llxmltree.cpp | 1 | ||||
-rw-r--r-- | linden/indra/llxml/llxmltree.h | 1 |
8 files changed, 14 insertions, 6 deletions
diff --git a/linden/indra/llxml/llcontrol.cpp b/linden/indra/llxml/llcontrol.cpp index c365aed..3a1c806 100644 --- a/linden/indra/llxml/llcontrol.cpp +++ b/linden/indra/llxml/llcontrol.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2001-2007, Linden Research, Inc. | 5 | * Copyright (c) 2001-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llxml/llcontrol.h b/linden/indra/llxml/llcontrol.h index ca5f711..a46438a 100644 --- a/linden/indra/llxml/llcontrol.h +++ b/linden/indra/llxml/llcontrol.h | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2001-2007, Linden Research, Inc. | 5 | * Copyright (c) 2001-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llxml/llxmlnode.cpp b/linden/indra/llxml/llxmlnode.cpp index 50a08be..eb48b41 100644 --- a/linden/indra/llxml/llxmlnode.cpp +++ b/linden/indra/llxml/llxmlnode.cpp | |||
@@ -5,6 +5,7 @@ | |||
5 | * | 5 | * |
6 | * Copyright (c) 2005-2007, Linden Research, Inc. | 6 | * Copyright (c) 2005-2007, Linden Research, Inc. |
7 | * | 7 | * |
8 | * Second Life Viewer Source Code | ||
8 | * The source code in this file ("Source Code") is provided by Linden Lab | 9 | * The source code in this file ("Source Code") is provided by Linden Lab |
9 | * to you under the terms of the GNU General Public License, version 2.0 | 10 | * to you under the terms of the GNU General Public License, version 2.0 |
10 | * ("GPL"), unless you have obtained a separate licensing agreement | 11 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -2162,7 +2163,7 @@ void LLXMLNode::setFloatValue(U32 length, const F32 *array, Encoding encoding, U | |||
2162 | { | 2163 | { |
2163 | precision = 25; | 2164 | precision = 25; |
2164 | } | 2165 | } |
2165 | snprintf(format_string, sizeof(format_string), "%%.%dg", precision); /* Flawfinder: ignore */ | 2166 | snprintf(format_string, sizeof(format_string), "%%.%dg", precision); /* Flawfinder: ignore */ |
2166 | } | 2167 | } |
2167 | else | 2168 | else |
2168 | { | 2169 | { |
@@ -2213,7 +2214,7 @@ void LLXMLNode::setDoubleValue(U32 length, const F64 *array, Encoding encoding, | |||
2213 | { | 2214 | { |
2214 | precision = 25; | 2215 | precision = 25; |
2215 | } | 2216 | } |
2216 | snprintf(format_string, sizeof(format_string), "%%.%dg", precision); /* Flawfinder: ignore */ | 2217 | snprintf(format_string, sizeof(format_string), "%%.%dg", precision); /* Flawfinder: ignore */ |
2217 | } | 2218 | } |
2218 | else | 2219 | else |
2219 | { | 2220 | { |
diff --git a/linden/indra/llxml/llxmlnode.h b/linden/indra/llxml/llxmlnode.h index bfe0fbe..e876739 100644 --- a/linden/indra/llxml/llxmlnode.h +++ b/linden/indra/llxml/llxmlnode.h | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2000-2007, Linden Research, Inc. | 5 | * Copyright (c) 2000-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llxml/llxmlparser.cpp b/linden/indra/llxml/llxmlparser.cpp index 056d850..4162e7d 100644 --- a/linden/indra/llxml/llxmlparser.cpp +++ b/linden/indra/llxml/llxmlparser.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2002-2007`, Linden Research, Inc. | 5 | * Copyright (c) 2002-2007`, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -76,7 +77,7 @@ BOOL LLXmlParser::parseFile(const std::string &path) | |||
76 | FILE* file = LLFile::fopen(path.c_str(), "rb"); /* Flawfinder: ignore */ | 77 | FILE* file = LLFile::fopen(path.c_str(), "rb"); /* Flawfinder: ignore */ |
77 | if( !file ) | 78 | if( !file ) |
78 | { | 79 | { |
79 | snprintf( mAuxErrorString, sizeof(mAuxErrorString), "Couldn't open file %s", path.c_str()); /* Flawfinder: ignore */ | 80 | snprintf( mAuxErrorString, sizeof(mAuxErrorString), "Couldn't open file %s", path.c_str()); /* Flawfinder: ignore */ |
80 | success = FALSE; | 81 | success = FALSE; |
81 | } | 82 | } |
82 | else | 83 | else |
@@ -90,7 +91,7 @@ BOOL LLXmlParser::parseFile(const std::string &path) | |||
90 | void* buffer = XML_GetBuffer(mParser, buffer_size); | 91 | void* buffer = XML_GetBuffer(mParser, buffer_size); |
91 | if( !buffer ) | 92 | if( !buffer ) |
92 | { | 93 | { |
93 | snprintf( mAuxErrorString, sizeof(mAuxErrorString), "Unable to allocate XML buffer while reading file %s", path.c_str() ); /* Flawfinder: ignore */ | 94 | snprintf( mAuxErrorString, sizeof(mAuxErrorString), "Unable to allocate XML buffer while reading file %s", path.c_str() ); /* Flawfinder: ignore */ |
94 | success = FALSE; | 95 | success = FALSE; |
95 | goto exit_label; | 96 | goto exit_label; |
96 | } | 97 | } |
@@ -98,14 +99,14 @@ BOOL LLXmlParser::parseFile(const std::string &path) | |||
98 | bytes_read = (S32)fread(buffer, 1, buffer_size, file); | 99 | bytes_read = (S32)fread(buffer, 1, buffer_size, file); |
99 | if( bytes_read <= 0 ) | 100 | if( bytes_read <= 0 ) |
100 | { | 101 | { |
101 | snprintf( mAuxErrorString, sizeof(mAuxErrorString), "Error while reading file %s", path.c_str() ); /* Flawfinder: ignore */ | 102 | snprintf( mAuxErrorString, sizeof(mAuxErrorString), "Error while reading file %s", path.c_str() ); /* Flawfinder: ignore */ |
102 | success = FALSE; | 103 | success = FALSE; |
103 | goto exit_label; | 104 | goto exit_label; |
104 | } | 105 | } |
105 | 106 | ||
106 | if( !XML_ParseBuffer(mParser, bytes_read, TRUE ) ) | 107 | if( !XML_ParseBuffer(mParser, bytes_read, TRUE ) ) |
107 | { | 108 | { |
108 | snprintf( mAuxErrorString, sizeof(mAuxErrorString), "Error while parsing file %s", path.c_str() ); /* Flawfinder: ignore */ | 109 | snprintf( mAuxErrorString, sizeof(mAuxErrorString), "Error while parsing file %s", path.c_str() ); /* Flawfinder: ignore */ |
109 | success = FALSE; | 110 | success = FALSE; |
110 | } | 111 | } |
111 | 112 | ||
diff --git a/linden/indra/llxml/llxmlparser.h b/linden/indra/llxml/llxmlparser.h index e1bd2e2..307a34f 100644 --- a/linden/indra/llxml/llxmlparser.h +++ b/linden/indra/llxml/llxmlparser.h | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2002-2007, Linden Research, Inc. | 5 | * Copyright (c) 2002-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llxml/llxmltree.cpp b/linden/indra/llxml/llxmltree.cpp index 2b6a6a1..81bc34a 100644 --- a/linden/indra/llxml/llxmltree.cpp +++ b/linden/indra/llxml/llxmltree.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2002-2007, Linden Research, Inc. | 5 | * Copyright (c) 2002-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llxml/llxmltree.h b/linden/indra/llxml/llxmltree.h index 6ce43af..32f5389 100644 --- a/linden/indra/llxml/llxmltree.h +++ b/linden/indra/llxml/llxmltree.h | |||
@@ -5,6 +5,7 @@ | |||
5 | * | 5 | * |
6 | * Copyright (c) 2001-2007, Linden Research, Inc. | 6 | * Copyright (c) 2001-2007, Linden Research, Inc. |
7 | * | 7 | * |
8 | * Second Life Viewer Source Code | ||
8 | * The source code in this file ("Source Code") is provided by Linden Lab | 9 | * The source code in this file ("Source Code") is provided by Linden Lab |
9 | * to you under the terms of the GNU General Public License, version 2.0 | 10 | * to you under the terms of the GNU General Public License, version 2.0 |
10 | * ("GPL"), unless you have obtained a separate licensing agreement | 11 | * ("GPL"), unless you have obtained a separate licensing agreement |