diff --git a/atob-2.1.1.tgz b/atob-2.1.1.tgz new file mode 100644 index 0000000..45074a4 --- /dev/null +++ b/atob-2.1.1.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e48d802896281d58616087ec63d0466a5dd7656b7dbf9541095d30c441cca4a9 +size 12781 diff --git a/nodejs-atob.changes b/nodejs-atob.changes index 4c86500..bd5d4aa 100644 --- a/nodejs-atob.changes +++ b/nodejs-atob.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jun 4 09:53:39 UTC 2018 - kbabioch@suse.com + +- Update to version 2.1.1: + - Fixed an uninitialized memory allocation in input + (CVE-2018-3745 bsc#1095771) + ------------------------------------------------------------------- Thu Oct 9 15:07:36 UTC 2014 - jgleissner@suse.com diff --git a/nodejs-atob.spec b/nodejs-atob.spec index 60205e5..f7b3b14 100644 --- a/nodejs-atob.spec +++ b/nodejs-atob.spec @@ -1,7 +1,7 @@ # # spec file for package nodejs-atob # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,18 +18,16 @@ %define base_name atob Name: nodejs-atob -Version: 1.1.2 +Version: 2.1.1 Release: 0 Summary: A port of the browser's `atob` function License: Apache-2.0 Group: Development/Languages/Other -Url: https://github.com/node-browser-compat/atob +URL: https://github.com/node-browser-compat/atob Source: http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz -BuildRequires: nodejs-packaging -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: nodejs-packaging BuildArch: noarch - -%nodejs_find_provides_and_requires +%{nodejs_find_provides_and_requires} %description Uses Buffer to emulate the exact functionality of the browser's atob. @@ -41,12 +39,12 @@ Uses Buffer to emulate the exact functionality of the browser's atob. %install mkdir -p %{buildroot}%{nodejs_modulesdir}/%{base_name} -cp -pr package.json index.js bin \ +cp -pr package.json bin \ %{buildroot}%{nodejs_modulesdir}/%{base_name}/ %files -%defattr(-,root,root,-) -%doc README.md LICENSE LICENSE.DOCS -%{nodejs_modulesdir}/%{base_name} +%license LICENSE LICENSE.DOCS +%doc README.md +%{_libexecdir}/node_modules %changelog