Update to version 20250913+git83.bc629c8

(upstream git snapshot + cherry-picked fixes)
This commit was merged in pull request #3.
This commit is contained in:
Michal Suchanek
2026-02-16 13:02:25 +01:00
parent ee3ba39263
commit 405dbfe9e5
6 changed files with 81 additions and 8 deletions

14
_service Normal file
View File

@@ -0,0 +1,14 @@
<services>
<service name="tar_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/hramrach/quickjs.git</param>
<param name="revision">master</param>
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="manual" />
</services>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/hramrach/quickjs.git</param>
<param name="changesrevision">bc629c8b659edd31eb532ae7ccc5f7816098d5d6</param></service></servicedata>

Binary file not shown.

Binary file not shown.

View File

@@ -1,3 +1,60 @@
-------------------------------------------------------------------
Mon Feb 16 11:44:51 UTC 2026 - msuchanek@suse.de
- Update to version 20250913+git83.bc629c8 (upstream git snapshot + cherry-picked fixes):
* Fix heap buffer overflow via side-effects in js_typed_array_constructor
* Fix heap buffer overflow in js_typed_array_constructor_ta (bsc#1256914 CVE-2026-1145)
* Add tests for OOB access in atomic ops
* Fix use-after-free in Atomics operations with resizable ArrayBuffers (bsc#1256911 CVE-2026-1144)
* \x{N} is a syntax error
* slightly faster lexical variable assignment
* Don't call well-known Symbol methods for RegExp on primitive values
* removed use after free in js_create_module_bytecode_function() (#467)
* removed memory leak in case of error in cpool_add() (#468)
* fixed fast array extension optimization when there are multiple realms
* added regexp duplicate named groups - fixed reset of captures with quantizers
* updated to unicode 17.0.0 - updated test262 version
* fixed Worker freeing logic (#462)
* - optimized Regexp.prototype.exec - optimized String.prototype.replace - optimized 'arguments' object creation - optimized access to non strict 'arguments' elements
* faster and simpler implementation of regexp backtracking
* fixed BJSON array serialization (#457)
* Added Iterator.concat (initial patch by bnoordhuis)
* optimized add/sub int32 overflow
* added error checking in JS_InstantiateFunctionListItem()
* Closure optimization
* Restore a mistakenly removed goto on error in js_build_module_ns() (igorburago)
* fixed JS_PROP_AUTOINIT handling in js_closure_define_global_var() (#455)
* fixed exception handling in put_var operation (regression introduced by commit a6816be) (#454)
* More informative "not a constructor" error message (initial patch by bnoordhuis) (#368)
* Fix length check in ArrayBuffer.prototype.slice (bnoordhuis) (#451)
* fixed DataView resizing
* qjs: added --strict option
* Much faster destructuring at the expense of a slight incompatibility with the spec when direct evals are present (v8 behaves the same way).
* fixed operation order in Regexp constructor
* changed module rejection order according to spec change
* optimized Array.prototype.push
* added js_string_eq()
* fixed argument evaluation order in Date constructor and Date.UTC()
* faster and safer dbuf functions (#443)
* Faster context creation and exception checks in JS_NewContext (#404)
* faster appending of elements in arrays
* optimized string_buffer_putc()
* optimized post_inc and post_dec
* optimized array access
* optimized global variable access
* optimize the create of arrays
* Improve error handling in Promise.withResolvers (bnoordhuis)
* fixed Date parsing: "1997-03-08 11:19:10-0700" is a valid date and "1997-03-08T11:19:10-07" should yield an error
* added Math.sumPrecise()
* added Map and WeakMap upsert methods (bnoordhuis)
* - added Atomics.pause (bnoordhuis)
* - added resizable array buffers (bnoordhuis)
* fixed parsing of computed property name
* - added ArrayBuffer.prototype.transfer (Divy Srivastava)
* added the Iterator object
* added set methods (bnoordhuis)
* removed memory leak (#441)
-------------------------------------------------------------------
Fri Feb 6 01:23:13 UTC 2026 - Avindra Goolcharan <avindra@opensuse.org>

View File

@@ -16,8 +16,6 @@
#
%define ver 2025-09-13-2
%define ver2 2025-09-13
%if 0%{?suse_version} && 0%{?suse_version} < 1500
%define compiler CC=gcc-7
# /usr/include/c++/12/stdatomic.h
@@ -26,12 +24,12 @@ BuildRequires: gcc7-c++
BuildRequires: gcc-c++
%endif
Name: quickjs
Version: 20250913
Version: 20250913+git83.bc629c8
Release: 0
Summary: Small and embeddable Javascript engine
License: MIT
URL: https://bellard.org/quickjs/
Source0: https://bellard.org/quickjs/%{name}-%{ver}.tar.xz
Source0: %{name}-%{version}.tar.xz
BuildRequires: make
%description
@@ -51,7 +49,7 @@ Summary: Development headers for quickjs
Development headers for quickjs
%prep
%setup -q -n %{name}-%{ver2}
%setup -q -n %{name}-%{version}
# inject optflags (cannot be passed normally to build)
cat >> "./Makefile" <<-EOF
CFLAGS += %{optflags} -ffat-lto-objects