aboutsummaryrefslogtreecommitdiff
path: root/projects/ghostscript
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2020-02-29 04:32:13 +0800
committerGitHub <noreply@github.com>2020-02-28 12:32:13 -0800
commit65390a9774ed5a9a1373dd718fff59d1c6315ffb (patch)
tree705fed3f324e83f0337260a5dac21e2366986ae7 /projects/ghostscript
parent8d905b08c2898702fbf13f7286e166acdd7efe18 (diff)
downloadoss-fuzz-65390a9774ed5a9a1373dd718fff59d1c6315ffb.tar.gz
[ghostscript] Relicense target fuzzer under Apache 2.0 license. (#3440)
When contributed to OSS-fuzz the Ghostscript target fuzzer was licensed under a "BSD-style" license, referring to a LICENSE file that actually contained an Apache 2.0 license! Recently the OSS-fuzz project has added a presubmit check that validates the license of each project's target fuzzer, causing the Ghostscript target fuzzer to now fail the test. The Ghostscript target fuzzer therefore needs to be relicensed under Apache 2.0. This commit relicenses the existing target fuzzer code under Apache 2.0 so that the Ghostscript target fuzzer code will pass OSS-fuzz's presubmit checks allowing for further development.
Diffstat (limited to 'projects/ghostscript')
-rw-r--r--projects/ghostscript/gstoraster_fuzzer.cc20
1 files changed, 17 insertions, 3 deletions
diff --git a/projects/ghostscript/gstoraster_fuzzer.cc b/projects/ghostscript/gstoraster_fuzzer.cc
index ff5c0d2ae..fea5271f3 100644
--- a/projects/ghostscript/gstoraster_fuzzer.cc
+++ b/projects/ghostscript/gstoraster_fuzzer.cc
@@ -1,6 +1,20 @@
-// Copyright 2019 The Chromium OS Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
+/*
+# Copyright 2019 The Chromium OS Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+################################################################################
+*/
#include <base/gserrors.h>
#include <psi/iapi.h>