Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
From f236a30dc8528b6f114201580f1efdcc1c447d43 Mon Sep 17 00:00:00 2001
|
||||
From: Changqing Li <changqing.li@windriver.com>
|
||||
Date: Mon, 9 Mar 2020 13:10:37 +0800
|
||||
Subject: [PATCH] sqlparse: change shebang to python3
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Don't send upstream since upstream still support python2,
|
||||
we can only make this change after python2 is offcially
|
||||
dropped.
|
||||
|
||||
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
||||
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
||||
---
|
||||
sqlparse/__main__.py | 2 +-
|
||||
sqlparse/cli.py | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/sqlparse/__main__.py b/sqlparse/__main__.py
|
||||
index 2bf2513..6a3a115 100644
|
||||
--- a/sqlparse/__main__.py
|
||||
+++ b/sqlparse/__main__.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (C) 2009-2020 the sqlparse authors and contributors
|
||||
# <see AUTHORS file>
|
||||
diff --git a/sqlparse/cli.py b/sqlparse/cli.py
|
||||
index 7a8aacb..9c727e8 100755
|
||||
--- a/sqlparse/cli.py
|
||||
+++ b/sqlparse/cli.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (C) 2009-2020 the sqlparse authors and contributors
|
||||
# <see AUTHORS file>
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
From b4a39d9850969b4e1d6940d32094ee0b42a2cf03 Mon Sep 17 00:00:00 2001
|
||||
From: Andi Albrecht <albrecht.andi@gmail.com>
|
||||
Date: Sat, 13 Apr 2024 13:59:00 +0200
|
||||
Subject: [PATCH] Raise SQLParseError instead of RecursionError.
|
||||
|
||||
CVE: CVE-2024-4340
|
||||
|
||||
Upstream-Status: Backport [https://github.com/andialbrecht/sqlparse/commit/b4a39d9850969b4e1d6940d32094ee0b42a2cf03]
|
||||
|
||||
Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
|
||||
---
|
||||
sqlparse/sql.py | 14 +++++++++-----
|
||||
1 file changed, 9 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/sqlparse/sql.py b/sqlparse/sql.py
|
||||
index 1ccfbdb..2090621 100644
|
||||
--- a/sqlparse/sql.py
|
||||
+++ b/sqlparse/sql.py
|
||||
@@ -10,6 +10,7 @@
|
||||
import re
|
||||
|
||||
from sqlparse import tokens as T
|
||||
+from sqlparse.exceptions import SQLParseError
|
||||
from sqlparse.utils import imt, remove_quotes
|
||||
|
||||
|
||||
@@ -209,11 +210,14 @@ class TokenList(Token):
|
||||
|
||||
This method is recursively called for all child tokens.
|
||||
"""
|
||||
- for token in self.tokens:
|
||||
- if token.is_group:
|
||||
- yield from token.flatten()
|
||||
- else:
|
||||
- yield token
|
||||
+ try:
|
||||
+ for token in self.tokens:
|
||||
+ if token.is_group:
|
||||
+ yield from token.flatten()
|
||||
+ else:
|
||||
+ yield token
|
||||
+ except RecursionError as err:
|
||||
+ raise SQLParseError('Maximum recursion depth exceeded') from err
|
||||
|
||||
def get_sublists(self):
|
||||
for token in self.tokens:
|
||||
--
|
||||
2.25.1
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
||||
Reference in New Issue
Block a user