instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
OP-TEE__optee_os__5025
OP-TEE/optee_os
5,025
defect
289611b810b4c9283189534e5004ccf2508ab9d6
6b7489991de424db8261fa102b62b0e96bc2ac20
Remote attestation PTA
Differences with [v4](https://github.com/OP-TEE/optee_os/pull/5010): - The hash of TA memory pages from [v2](https://github.com/OP-TEE/optee_os/pull/4972) is back, in addition to obtaining the digest from the TA secure header (struct shdr::hash) is still possible. This way more use cases can be supported. - Attestati...
diff --git a/core/include/tee/tee_svc_storage.h b/core/include/tee/tee_svc_storage.h index c530c4d8e1f..bb94d3dd4b4 100644 --- a/core/include/tee/tee_svc_storage.h +++ b/core/include/tee/tee_svc_storage.h @@ -63,10 +63,6 @@ void tee_svc_storage_init(void); struct tee_pobj; TEE_Result tee_svc_storage_create_filename(v...
5
4
0
[{"id": "G0", "claim": "It would make sense to also rename tee_svc_storage_create_filename_dfh() to create_filename().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "tee_svc_storage_create_filename_dfh() and tee_svc_storage_create_filename() sho...
null
OP-TEE__optee_os__5053
OP-TEE/optee_os
5,053
defect
c9bd33759d3a2a7d12fb1af4105cee1adfaeb91d
ea62e9ad968b3436d4f04fdf643539725ed99d1c
lib: libutils: trace.c: make print_core_id() architecture-independent
The function` print_core_id()` in `lib/libutils/ext/trace.c` is calling architecture-specific routines to retrieve the core id. It is more relevant to create a new abstract function `trace_ext_get_core_id()` in `lib/libutee/trace_ext.c` that needs to be implemented in the architecture-specific code. This is is simi...
diff --git a/core/arch/arm/include/kernel/thread.h b/core/arch/arm/include/kernel/thread.h index 4fbb86355c9..bbd1cd55b98 100644 --- a/core/arch/arm/include/kernel/thread.h +++ b/core/arch/arm/include/kernel/thread.h @@ -19,6 +19,7 @@ #define THREAD_ID_0 0 #define THREAD_ID_INVALID -1 +#define CORE_ID_UNKNOWN -1 ...
5
4
0
[{"id": "G0", "claim": "Move the pull request's added #include <kernel/misc.h> above line 8 of core/arch/arm/kernel/trace_ext.c (before <kernel/spinlock.h>).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Replace the lowercase 'id' with uppercas...
null
OP-TEE__optee_os__5066
OP-TEE/optee_os
5,066
defect
2452979f039e945d1552a2d091078a88bafcf1c9
da43edc88956597a0de803be570f977ef96249fb
mempool based on bget
This relates to the issue https://github.com/OP-TEE/optee_os/issues/5022 and the recently merged PR https://github.com/OP-TEE/optee_os/pull/5065 Reply to https://github.com/OP-TEE/optee_os/issues/5022#issuecomment-996885144 > > Interesting, I wonder how much it can increase. Perhaps it's time to start looking for a...
diff --git a/lib/libutils/isoc/bget_malloc.c b/lib/libutils/isoc/bget_malloc.c index 3fb9d56a1d0..d4eed09ef42 100644 --- a/lib/libutils/isoc/bget_malloc.c +++ b/lib/libutils/isoc/bget_malloc.c @@ -346,8 +346,8 @@ static bool bpool_foreach(struct malloc_ctx *ctx, for (bpool_foreach_iterator_init((ctx),(iterator)); \...
1
1
0
[{"id": "G0", "claim": "One of the two consecutive blank lines after raw_malloc_add_pool in lib/libutils/isoc/bget_malloc.c should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
OP-TEE__optee_os__5155
OP-TEE/optee_os
5,155
defect
f0d8ad672a5411e7413dcf55fcbd39ed60a72f7e
d1256ca98fdb0d5e29c9f19830baa75d8bee0ad7
watchdog: add glue and arm-smc-wdt smc handler
This commits adds a thin glue layer for watchdog access and adds a SMC handler which handles the `arm-smc-wdt` compatible Linux driver [1]. [1] https://lwn.net/Articles/819480/
diff --git a/core/drivers/sub.mk b/core/drivers/sub.mk index a619d8d77b5..a5d1f1714d7 100644 --- a/core/drivers/sub.mk +++ b/core/drivers/sub.mk @@ -54,3 +54,4 @@ subdirs-$(CFG_DRIVERS_RSTCTRL) += rstctrl subdirs-$(CFG_SCMI_MSG_DRIVERS) += scmi-msg subdirs-y += imx subdirs-y += pm +subdirs-y += wdt diff --git a/core...
7
7
5
[{"id": "G0", "claim": "The watchdog registration interface added by this pull request is dead code so far: nothing calls watchdog_register() and the driver that would use it is not even built in this PR.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"...
null
OP-TEE__optee_os__5207
OP-TEE/optee_os
5,207
defect
839dadc26ee3188ae5127981c0651126058faa75
900822a2a1b6ff9520108cffaaf84d6c58231e2c
dt driver: test for driver probing sequence
Implement _dt_driver_test.c_ with emulated resources (starting with clk's and rstctrl's) and a consumer device that gets those resources (possibly deferring its probe). A test DTSI defines the topology. After initcall completion, collect the status and let core self test (`xtest -t regression 1001`) report any failure ...
diff --git a/core/arch/arm/dts/dt_driver_test.dtsi b/core/arch/arm/dts/dt_driver_test.dtsi new file mode 100644 index 00000000000..9bef755946e --- /dev/null +++ b/core/arch/arm/dts/dt_driver_test.dtsi @@ -0,0 +1,51 @@ +// SPDX-License-Identifier: BSD-2-Clause +/* + * Copyright (c) 2022, Linaro Limited + */ + +/ { + /*...
4
2
0
[{"id": "G0", "claim": "It is unclear why the #ifdef CFG_DRIVERS_CLK around the consumer test driver is needed.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "It is unclear why the #ifdef CFG_DRIVERS_RSTCTRL around the clock-provider test code is needed.",...
null
OP-TEE__optee_os__5212
OP-TEE/optee_os
5,212
defect
89d991352352b80ae90f82228a014bb8cadfb80b
566f2cd2e90ac9a77745f44971620cd037cc088d
Fix SM2 key generation and manipulation
This PR addresses several issues related to SM2 key generation and manipulation: 1. With LibTomcrypt: `TEE_GenerateKey()` returns `TEE_ERROR_BAD_FORMAT` when the object type is `TEE_TYPE_SM2_DSA_KEYPAIR` or `TEE_TYPE_SM2_KEP_KEYPAIR`. Only `TEE_TYPE_SM2_PKE_KEYPAIR` is accepted, but the NIST SECP256R1 curve is used ...
diff --git a/core/lib/libtomcrypt/ecc.c b/core/lib/libtomcrypt/ecc.c index ed7bae70f4d..680f44c5865 100644 --- a/core/lib/libtomcrypt/ecc.c +++ b/core/lib/libtomcrypt/ecc.c @@ -114,6 +114,24 @@ static TEE_Result ecc_get_curve_info(uint32_t curve, uint32_t algo, return TEE_SUCCESS; } +/* Note: this function clears ...
1
1
0
[{"id": "G0", "claim": "Initialize the newly added `gid` variable with `= { }` or `memset()`, as is done for `ecdsa`, in every function where it was added in lib/libmbedtls/core/ecc.c.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OP-TEE__optee_os__5289
OP-TEE/optee_os
5,289
defect
8a5d06feb6b224f4c51053aad90ff2b0595c2467
5f96e1878634edc44f2f1346d2c854cf671e6def
Ftrace refactoring and fixes for -Warray-bounds warnings
<!-- If you are new to submitting pull requests to OP-TEE, then please have a look at the list below and tick them off before submitting the pull request. 1. Read our contribution guidelines: https://optee.readthedocs.io/en/latest/general/contribute.html 2. Read the contribution sectio...
diff --git a/lib/libutils/ext/ftrace/ftrace.c b/lib/libutils/ext/ftrace/ftrace.c index e6e872fb208..7894b28bff9 100644 --- a/lib/libutils/ext/ftrace/ftrace.c +++ b/lib/libutils/ext/ftrace/ftrace.c @@ -26,6 +26,9 @@ #include "ftrace.h" #define DURATION_MAX_LEN 16 +#define ENTRY_SIZE(idx) (DURATION_MAX_LEN + idx +...
6
5
1
[{"id": "G0", "claim": "Parenthesize the idx parameter in the newly added ENTRY_SIZE and EXIT_SIZE macros (s/idx/(idx)/g).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add an inline comment at the new minimum-size check explaining why the too-...
null
OP-TEE__optee_os__5516
OP-TEE/optee_os
5,516
defect
dfeed9241800a4263bc76ee3a2fb8edae2c1498a
c7e3ba449b682ac79f3b17d6948de4d7d22ed882
Provide an interface to Crypto API drivers to route operations back to software
reference: https://github.com/OP-TEE/optee_os/pull/5426 <!-- If you are new to submitting pull requests to OP-TEE, then please have a look at the list below and tick them off before submitting the pull request. 1. Read our contribution guidelines: https://optee.readthedocs.io/en/latest/g...
diff --git a/core/include/crypto/crypto_impl.h b/core/include/crypto/crypto_impl.h index 9cbad85cf8f..894d19b05c7 100644 --- a/core/include/crypto/crypto_impl.h +++ b/core/include/crypto/crypto_impl.h @@ -403,4 +403,50 @@ drvcrypt_asym_alloc_ecc_keypair(struct ecc_keypair *key __unused, return TEE_ERROR_NOT_IMPLEMENT...
5
3
1
[{"id": "G0", "claim": "The added `__weak_alias(\"sw_crypto_acipher_alloc_rsa_keypair\");` line should be indented with one tab.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new macro should be `#define __alias(x) __attribute__((alias(x)))...
null
OP-TEE__optee_os__5644
OP-TEE/optee_os
5,644
defect
8fe3e863602fc70b6aff99149365459ace643189
810dff00affa7b694ace302ebd35281403a293fd
AMD/Xilinx Versal ACAP: ECC
<!-- If you are new to submitting pull requests to OP-TEE, then please have a look at the list below and tick them off before submitting the pull request. 1. Read our contribution guidelines: https://optee.readthedocs.io/en/latest/general/contribute.html 2. Read the contribution sectio...
diff --git a/core/drivers/crypto/versal/ecc.c b/core/drivers/crypto/versal/ecc.c new file mode 100644 index 00000000000..deb69f4b571 --- /dev/null +++ b/core/drivers/crypto/versal/ecc.c @@ -0,0 +1,450 @@ +// SPDX-License-Identifier: BSD-2-Clause +/* + * Copyright (C) Foundries Ltd. 2022. + * Author: Jorge Ramirez <jorg...
3
3
0
[{"id": "G0", "claim": "The ternary in the versal_mbox_alloc call in ecc_prepare_msg should be removed in favour of a clearer formulation.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The combined LTC/mbedtls commit has to be split into three ...
null
OP-TEE__optee_os__5686
OP-TEE/optee_os
5,686
defect
593b94ee5eb0e8f0139719d7b02e9c164a3b0978
47dc07aa91b2a04d611863807e615607874ab938
SCMI server from SCP-firmware (take 2)
This P-R superseeds https://github.com/OP-TEE/optee_os/pull/5627. The main change is the build process. This P-R builds SCP-firmware using optee_os native build scripts instead of using SCP-firmware native CMake build process. I have also updated CI script (_ci.yml_) to get SCP-firmware master branch tip for CI t...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0462daefc21..52b730687c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,9 +81,11 @@ jobs: function _make() { make -j$(nproc) -s O=out $*; } function download_plug_and_trust() { mkdir -p $HOME/se05...
8
7
1
[{"id": "G0", "claim": "The -D build definitions (BUILD_VERSION_*, BUILD_HAS_NOTIFICATION and the like) in core/lib/scmi-server/sub.mk should go into cppflags-lib-... instead of cflags-lib-..., same for the occurrences below.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
OP-TEE__optee_os__5734
OP-TEE/optee_os
5,734
defect
3e8a6147a32638b286d4644354fc13d94ebcba91
96099941913e6ec9aa04ec33a87589ac9116700d
riscv: Initial support of QEMU RISC-V generic virtual platform (virt)
Platform specifications and configuration information here https://www.qemu.org/docs/master/system/riscv/virt.html
diff --git a/core/arch/riscv/plat-virt/conf.mk b/core/arch/riscv/plat-virt/conf.mk new file mode 100644 index 00000000000..32488edc51d --- /dev/null +++ b/core/arch/riscv/plat-virt/conf.mk @@ -0,0 +1,35 @@ +CFG_RV64_core ?= y + +$(call force,CFG_CORE_LARGE_PHYS_ADDR,y) +$(call force,CFG_TEE_CORE_DEBUG,n) +$(call force,...
8
4
1
[{"id": "G0", "claim": "core/arch/arm/kernel/otp_stubs.c should be moved into core/kernel/ instead of duplicating the code in plat-virt's main.c.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "There is no systematic check that CFG_ variables are...
null
OP-TEE__optee_os__5739
OP-TEE/optee_os
5,739
defect
ebc8e1ff4fdb1de61cfad8682d00871da892b34c
6a0a4e17dba15e08268374481e43a06e10d50a53
SHA-512 and SM3 using ARMv8.2-A cryptographic extensions
<!-- If you are new to submitting pull requests to OP-TEE, then please have a look at the list below and tick them off before submitting the pull request. 1. Read our contribution guidelines: https://optee.readthedocs.io/en/latest/general/contribute.html 2. Read the contribution sectio...
diff --git a/core/arch/arm/crypto/sha512_armv8a_ce.c b/core/arch/arm/crypto/sha512_armv8a_ce.c new file mode 100644 index 00000000000..165e718d117 --- /dev/null +++ b/core/arch/arm/crypto/sha512_armv8a_ce.c @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: BSD-2-Clause +/* + * Copyright (c) 2022, Linaro Limited + */ + +#in...
2
2
0
[{"id": "G0", "claim": "The new file's header should use the SPDX line \"// SPDX-License-Identifier: Unlicense AND BSD-2-Clause\" plus a \"Copyright (c) 2023 Linaro Limited\" line, since the file originates from LibTomCrypt and was modified by OP-TEE.", "category": "documentation", "verdict": "supported", "priority": "...
null
OP-TEE__optee_os__5782
OP-TEE/optee_os
5,782
defect
8e74d47616a20eaa23ca692f4bbbf917a236ed94
32dfb3e63c54c584fa9051b453049038e436196b
core: crypto: add support MD5 hashes in RSA sign/verify
Introduce support of using MD5 hashes in RSA sign/verify operations, which is required by AOSP Keymaster. This patch has been inspired by the following commit: 199d0b7310d1705661a106358f1f0b46e4c5c587 Signed-off-by: Julien Masson <jmasson@baylibre.com> Signed-off-by: Safae Ouajih <souajih@baylibre.com> <!-- ...
diff --git a/core/drivers/crypto/crypto_api/acipher/rsassa.c b/core/drivers/crypto/crypto_api/acipher/rsassa.c index 4b024676725..05dcbbbff6c 100644 --- a/core/drivers/crypto/crypto_api/acipher/rsassa.c +++ b/core/drivers/crypto/crypto_api/acipher/rsassa.c @@ -884,6 +884,7 @@ TEE_Result drvcrypt_rsassa_sign(struct drvc...
7
5
1
[{"id": "G0", "claim": "The two non-standard MD5 algorithm defines should be placed in tee_api_defines_extensions.h instead of tee_api_defines.h.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "GlobalPlatform has deprecated MD5, so adding MD5 RSA sign/ver...
null
OP-TEE__optee_os__5835
OP-TEE/optee_os
5,835
defect
376cb124dd8d4f0a8737359211fa6883bdb4c77c
08bed77c7559d2f2cd92001099e41f6e25796bf8
core: crypto: fix memory leak in Ed25519 support
The software implemetation of ED25519 algorithm has a memory leak in the key and keypair allocation. Upon every public key allocation, a key pair is allocated (public and private components). When freeing the public key, only the public component is freed. To reproduce the issue: $ while xtest 4016; do :; done Un...
diff --git a/core/crypto/crypto.c b/core/crypto/crypto.c index 8da4b7bb113..4ed442d77dd 100644 --- a/core/crypto/crypto.c +++ b/core/crypto/crypto.c @@ -866,10 +866,10 @@ TEE_Result crypto_acipher_alloc_ed25519_keypair(struct ed25519_keypair *key return TEE_ERROR_NOT_IMPLEMENTED; } -TEE_Result crypto_acipher_gen_e...
4
4
0
[{"id": "G0", "claim": "The unrelated rename of crypto_acipher_gen_ed25519_key to crypto_acipher_gen_ed25519_keypair in core/crypto/crypto.c should be left out of this pull request.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The crypto_acipher_alloc_...
null
OP-TEE__optee_os__5876
OP-TEE/optee_os
5,876
defect
9740df775895f85376cb75719c5b9cbbaa6e99e0
f89c4daad13627afe8fa8192dde1ec93d48ecc45
SHA-3 acceleration
<!-- If you are new to submitting pull requests to OP-TEE, then please have a look at the list below and tick them off before submitting the pull request. 1. Read our contribution guidelines: https://optee.readthedocs.io/en/latest/general/contribute.html 2. Read the contribution sectio...
diff --git a/core/arch/arm/crypto/sha3_armv8a_ce.c b/core/arch/arm/crypto/sha3_armv8a_ce.c new file mode 100644 index 00000000000..ad9152dfbe2 --- /dev/null +++ b/core/arch/arm/crypto/sha3_armv8a_ce.c @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: BSD-2-Clause +/* + * Copyright (c) 2023, Linaro Limited + */ + +#include ...
1
1
0
[{"id": "G0", "claim": "There are a few checkpatch long-line warnings in sha3_armv8a_ce_a64.S, and the reviewer asks to split those lines with a line continuation character.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
OP-TEE__optee_os__6041
OP-TEE/optee_os
6,041
defect
e1aad7e9d040d48e4a1a4ce3657e41fb51f707f6
8f1e28eddc045152d24b88867c5068a0a8c04205
core: rename dt_driver_phandle_args to dt_pargs
Renames struct dt_driver_phandle_args to struct dt_pargs to shorten the label and prevent ugly line breaks in function signatures. <!-- If you are new to submitting pull requests to OP-TEE, then please have a look at the list below and tick them off before submitting the pull request. 1. Read our co...
diff --git a/core/drivers/atmel_piobu.c b/core/drivers/atmel_piobu.c index 337db7f4fea..f060a1ebce3 100644 --- a/core/drivers/atmel_piobu.c +++ b/core/drivers/atmel_piobu.c @@ -204,13 +204,13 @@ static const struct gpio_ops atmel_piobu_ops = { .set_interrupt = secumod_gpio_set_interrupt, }; -static struct gpio *se...
1
1
0
[{"id": "G0", "claim": "The stale kernel-doc `@a` lines above the renamed signatures should also be updated to the new parameter names (@pargs in gpio.h, @args in i2c.h and rstctrl.h).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OP-TEE__optee_os__6098
OP-TEE/optee_os
6,098
defect
1b4c5002788a6114f29662f49ee8fffcb3ded5aa
9d554969f5bf8ef927123311dc03c142e10ce978
core: dt_driver: swap TEE_result and retrieved device reference
Changes dt_driver callback function to return a `TEE_Result` value and pass retrieved device reference by a output argument rather than the opposite. This change updates _dt_driver.c_, _dt_driver.h_, _dt_driver_test.c_ and all drivers implementing related dt_driver callback functions. As a consequence, this chang...
diff --git a/core/drivers/atmel_piobu.c b/core/drivers/atmel_piobu.c index f060a1ebce3..1f6aa115f8f 100644 --- a/core/drivers/atmel_piobu.c +++ b/core/drivers/atmel_piobu.c @@ -204,24 +204,26 @@ static const struct gpio_ops atmel_piobu_ops = { .set_interrupt = secumod_gpio_set_interrupt, }; -static struct gpio *se...
2
1
1
[{"id": "G0", "claim": "Casting `struct pinconf **` to `void **` and writing through it in pinctrl_get_state_by_idx may break under strict-aliasing rules (and is an ugly cast); prefer a `void *` local passed by address, assigning `state->confs[conf_id]` after the call returns.", "category": "correctness", "verdict": "s...
null
OP-TEE__optee_os__6119
OP-TEE/optee_os
6,119
defect
fe16b87b7300da622fa2961ccb6ce1eddfa8596f
e9375935d0e26ba96a535380defbc99be7c9013f
ftrace: change implementation to use binary circular buffer
The current implementation of function tracing (CFG_FTRACE_SUPPORT) produces human-readable text into the output buffer that is passed to tee-supplicant and ultimately saved to the Linux filesystem. Two main issues with that: 1. The string formatting code is somewhat complex. It introduces significant overhead in th...
diff --git a/ldelf/ftrace.c b/ldelf/ftrace.c index 934bf43b703..5cf71d075c0 100644 --- a/ldelf/ftrace.c +++ b/ldelf/ftrace.c @@ -5,8 +5,10 @@ #include <assert.h> #include <printk.h> +#include <string.h> #include <sys/queue.h> #include <types_ext.h> +#include <user_ta_header.h> #include <util.h> #include "ftra...
7
6
1
[{"id": "G0", "claim": "The two-space indentation per call level should be reverted to one space (with the depth already displayed) so deep stacks do not overflow the output line.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It would be better to have ...
null
OP-TEE__optee_os__6129
OP-TEE/optee_os
6,129
defect
660463d38a55d65ba9aa7b8e503ac48367edda26
81e40db74f853fcba19e16cf9bcb24312700c588
RISC-V: Support ftrace for core and TA
This PR aims to support ftrace for RISC-V architecture. Note that this PR may depends on WIP PR https://github.com/OP-TEE/optee_os/pull/6104. So this PR must be merged only after the mentioned PR is merged. To test ftrace on RISC-V architecture using QEMU: 1. Enable these ftrace configurations from `core/arch/ris...
diff --git a/core/arch/riscv/include/kernel/delay_arch.h b/core/arch/riscv/include/kernel/delay_arch.h index de4709ff1f5..2ddec10b9af 100644 --- a/core/arch/riscv/include/kernel/delay_arch.h +++ b/core/arch/riscv/include/kernel/delay_arch.h @@ -6,15 +6,14 @@ #ifndef __KERNEL_DELAY_ARCH_H #define __KERNEL_DELAY_ARCH_H...
2
2
1
[{"id": "G0", "claim": "Add a comment on the mb() barrier in barrier_read_counter_timer explaining the timer value is read after pending operations have completed, to silence the checkpatch warning.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
OP-TEE__optee_os__6151
OP-TEE/optee_os
6,151
defect
660463d38a55d65ba9aa7b8e503ac48367edda26
7aa495ff80fd8e8407beca8ddc1b864bfe445f45
core: crypto_bignum_free(): add indirection and set pointer to NULL
To prevent human mistake, crypto_bignum_free() sets the location of the bignum pointer to NULL after freeing it. Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> <!-- If you are new to submitting pull requests to OP-TEE, then please have a ...
diff --git a/core/crypto/crypto.c b/core/crypto/crypto.c index 3552887a732..73e27c00804 100644 --- a/core/crypto/crypto.c +++ b/core/crypto/crypto.c @@ -528,9 +528,9 @@ void crypto_bignum_copy(struct bignum *to __unused, bignum_cant_happen(); } -void crypto_bignum_free(struct bignum *a) +void crypto_bignum_free(st...
1
1
0
[{"id": "G0", "claim": "The `*bn = NULL;` line in op_attr_bignum_free() can be removed since crypto_bignum_free(bn) now takes the pointer and sets it to NULL itself.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OP-TEE__optee_os__6167
OP-TEE/optee_os
6,167
defect
a012b9923d52be5721f6046c0464bdf645d87b01
229995d71067c9de1139252c6a36b1edfbd41ed1
crypto: add X448 algorithm framework code and rename struct x25519_keypair.
1.Refer to the X25519 algorithm, add the X448 algorithm framework code. 2.Design the montgomery keypair structure, to merge x25519 and x448 algorithm keypair structure. <!-- If you are new to submitting pull requests to OP-TEE, then please have a look at the list below and tick them off before submitting ...
diff --git a/core/crypto/crypto.c b/core/crypto/crypto.c index 73e27c00804..3d717f1a6d9 100644 --- a/core/crypto/crypto.c +++ b/core/crypto/crypto.c @@ -834,20 +834,21 @@ TEE_Result crypto_acipher_sm2_kep_derive(struct ecc_keypair *my_key __unused, #endif #if !defined(CFG_CRYPTO_X25519) -TEE_Result crypto_acipher_a...
5
5
2
[{"id": "G0", "claim": "TEE_MAIN_ALGO_X448 should probably be defined as 0xC5 instead of 0x49, since the GP specs no longer have structured Algorithm or Object Type Identifiers.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Split the pull request into t...
null
OP-TEE__optee_os__6169
OP-TEE/optee_os
6,169
defect
a8719249e3e260f172ab11c35314b068c5f25257
23719d1fa257efeb8cec9824139428ea018cec40
Pan fix
Fixes the missing PSTATE.PAN bit when returning with `syscall_sys_return()`. Did crash as expected without PR https://github.com/OP-TEE/optee_os/pull/6161.
diff --git a/core/arch/arm/include/arm.h b/core/arch/arm/include/arm.h index 3ca2afa6fbb..a31246debb7 100644 --- a/core/arch/arm/include/arm.h +++ b/core/arch/arm/include/arm.h @@ -160,6 +160,16 @@ static inline unsigned int feat_mte_implemented(void) #endif } +static inline unsigned int feat_pan_implemented(void) ...
6
6
1
[{"id": "G0", "claim": "The ldelf_syscall_* functions (e.g. ldelf_syscall_open_bin()) take pointers that live in user memory, such as the const TEE_UUID *uuid, and the kernel dereferences them directly, so with CFG_PAN=y the kernel faults accessing them (crash trace at ldelf_syscall_open_bin); user-access functions are...
null
OP-TEE__optee_os__6189
OP-TEE/optee_os
6,189
defect
a61bc392e60f71c67acef2b70a6cca4c45e7eea6
9a83a0ff1647988041d2cb10f7b11aa69ce0a22a
RISC-V: Refine PLIC related code
This PR renames some existed functions. Also it refines PLIC hartid to PLIC context, since the PLIC specification uses context instead of HART. Hello, @maroueneboubakri Please review this patch, thanks! <!-- If you are new to submitting pull requests to OP-TEE, then please have a look at the list bel...
diff --git a/core/arch/riscv/kernel/boot.c b/core/arch/riscv/kernel/boot.c index c3170996e22..de2d1808361 100644 --- a/core/arch/riscv/kernel/boot.c +++ b/core/arch/riscv/kernel/boot.c @@ -120,7 +120,7 @@ __weak void primary_init_intc(void) } /* May be overridden in plat-$(PLATFORM)/main.c */ -__weak void secondary...
1
1
0
[{"id": "G0", "claim": "The name `main_secondary_init_intc` (the `main_` prefix on the secondary interrupt-controller init hook) does not make sense and should be dropped, replacing the names in all Arm platforms instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OP-TEE__optee_os__6195
OP-TEE/optee_os
6,195
defect
e4b1172625af43092b8742144113b64375190b71
e7d140de280c2d8408c55e0a931c24bf72025303
pta: attestation: fixes
Several fixes for the attestation PTA. One commit excludes a region that should not be hashed, which was introduced by a commit related to PAN. The other ones fix invalid accesses to user space memory (TA memory pages and memref parameters) when `CFG_PAN=y`.
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4755a66702e..7135f3a205b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -272,6 +272,8 @@ jobs: export LC_ALL=C export BR2_CCACHE_DIR=/github/home/.cache/ccache export CFG_TEE_CORE_LOG_LEVEL=0...
3
2
1
[{"id": "G0", "claim": "The PAN/bounce-buffer handling for PTA calls should live in common code in core/kernel/pseudo_ta.c (e.g. the PTA invoke path) rather than in attestation.c, with bounce buffers applied automatically when the caller is a TA and PAN is enabled, since per-PTA handling duplicates code, is error-prone...
null
OP-TEE__optee_os__6260
OP-TEE/optee_os
6,260
defect
c4023a0f71f0d1c1bbb7950811ac49c0a883a401
eecec04d3b993a3ae798340fdcc4a4c511c14b71
[RFC] Non-volatile counter for ree fs
Each REE FS secure object has a counter embedded that is increased each time the object is changed. That counter has until now been pretty much ignored. With this RFC I'm proposing a way of using a non-volatile counter to protect secure storage against rollback if RPMB isn't available.
diff --git a/core/include/kernel/nv_counter.h b/core/include/kernel/nv_counter.h new file mode 100644 index 00000000000..ff730105cc4 --- /dev/null +++ b/core/include/kernel/nv_counter.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ +/* + * Copyright (c) 2023, Linaro Limited + */ + +#ifndef __KERNEL_NV_C...
4
4
1
[{"id": "G0", "claim": "Fix the misspelling in the new @min_counter doc comment in core/include/tee/fs_dirfile.h (\"acceped\" -> \"accepted\").", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Fix the misspelling in the new @min_counter doc comment ...
null
OP-TEE__optee_os__6271
OP-TEE/optee_os
6,271
defect
1188e423c514d5a7acdd1a609b82b01e6447b751
ac8bc5c0ff8f67e5c826d0754fbd508ddb8db33c
Optee watchdog
Add a dedicated OP-TEE ID for a SMC fast call entry to manage the ARM watchdog service. Recreating this pull request based on first review [https://github.com/OP-TEE/optee_os/pull/5947]. Too late for an update, comment has been taken and cleanup done to define a dedicated OP-TEE SMC ID.
diff --git a/core/arch/arm/include/sm/extra_smc.h b/core/arch/arm/include/sm/extra_smc.h new file mode 100644 index 00000000000..6d81f137d90 --- /dev/null +++ b/core/arch/arm/include/sm/extra_smc.h @@ -0,0 +1,104 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ +/* + * Copyright (C) STMicroelectronics 2023 - All Rights ...
9
9
2
[{"id": "G0", "claim": "The SMC Calling Convention reference URL in the new header's comment is outdated and should be updated to https://developer.arm.com/documentation/den0028.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the extra empt...
null
OP-TEE__optee_os__6324
OP-TEE/optee_os
6,324
defect
57b21489ca3b878c49e4a18842418a8537fe840c
2768f34bc4c295e2f9303e0308ebebf956e6e5b3
RISC-V: Updates for PLIC
1. plic: Move PLIC controller data into driver source file. Remove controller data in plat-virt source file. 2. plic: Add mask/unmask operations for PLIC. 3. plat-virt: Align PLIC configurations with RISC-V QEMU virtual platform <!-- If you are new to submitting pull requests to OP-TEE, then please have a ...
diff --git a/core/arch/riscv/plat-virt/main.c b/core/arch/riscv/plat-virt/main.c index c0f82d3bf4e..edfbf4caaac 100644 --- a/core/arch/riscv/plat-virt/main.c +++ b/core/arch/riscv/plat-virt/main.c @@ -10,7 +10,6 @@ #include <kernel/tee_common_otp.h> #include <platform_config.h> -static struct plic_data plic_data __...
1
1
0
[{"id": "G0", "claim": "The commit aligning PLIC configurations with QEMU should cite the reference QEMU version the values were taken from, since those values change between QEMU releases.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OP-TEE__optee_os__6452
OP-TEE/optee_os
6,452
defect
76438b80e5689d526037fe9b80430a858f5be0ff
2c0e4541abe7e4347602bc01feed84049cecfe8f
core: print current guest ID in logs
If CFG_NS_VIRTUALIZATION is enabled include the current guest ID on each log line. A number is added before the core number identifying the currently set guest ID, for example: D/TC:2 0 0 call_initcalls:40 level 1 teecore_init_pub_ram() Where the "2" indicates that this is done with guest ID 2 active. <!-- ...
diff --git a/core/kernel/trace_ext.c b/core/kernel/trace_ext.c index 6ed3bf94cce..007d6c30500 100644 --- a/core/kernel/trace_ext.c +++ b/core/kernel/trace_ext.c @@ -8,6 +8,7 @@ #include <kernel/misc.h> #include <kernel/spinlock.h> #include <kernel/thread.h> +#include <kernel/virtualization.h> #include <mm/core_mmu....
3
1
1
[{"id": "G0", "claim": "The NSec guest ID should be printed after the core and thread IDs for consistency between the old and new trace formats (raised as a preference, not a strong opinion).", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The commit messag...
null
OP-TEE__optee_os__6499
OP-TEE/optee_os
6,499
defect
c7f9abcee87f21b078ba707781af45c487b4025b
934f8ed2078e3ab185179eec536417933d1274ab
core: pta: stats: export and clarify statistics PTA API/ABI
Move definition of the statistics PTA API/ABI from various files (_pta/stats.c_, _tee_ta_manager.c_ and _malloc.h_) to a single header file (_lib/libutee/include/pta_stats.h_) exported to TA devkit. This changes make statistics PTA API definition more consistent regarding the definition of other the PTAs.
diff --git a/core/include/mm/tee_mm.h b/core/include/mm/tee_mm.h index b249e4bed0a..aae35f8717a 100644 --- a/core/include/mm/tee_mm.h +++ b/core/include/mm/tee_mm.h @@ -7,6 +7,7 @@ #define __MM_TEE_MM_H #include <malloc.h> +#include <pta_stats.h> #include <types_ext.h> /* Define to indicate default pool initiat...
2
2
0
[{"id": "G0", "claim": "The STATS_CMD_TA_STATS doc comment misspells \"instanciazed\" and should read \"Get information on TA instances\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The STATS_CMD_TA_STATS doc comment would be clearer if it sai...
null
OP-TEE__optee_os__6749
OP-TEE/optee_os
6,749
defect
ad50321f47fd752682e5db8679d4c714dc34f473
28fc185d203bb803d687abd8c20549dafcdcc0f9
Notif fix
<!-- If you are new to submitting pull requests to OP-TEE, then please have a look at the list below and tick them off before submitting the pull request. 1. Read our contribution guidelines: https://optee.readthedocs.io/en/latest/general/contribute.html 2. Read the contribution sectio...
diff --git a/core/arch/arm/kernel/generic_timer.c b/core/arch/arm/kernel/generic_timer.c index f6a262d27ff..5d101fcc69d 100644 --- a/core/arch/arm/kernel/generic_timer.c +++ b/core/arch/arm/kernel/generic_timer.c @@ -42,6 +42,7 @@ __relrodata_unpaged("timer_desc") = { .get_now = timer_now, .is_per_cpu = true, }; +...
5
2
0
[{"id": "G0", "claim": "Remove the __relrodata_unpaged(\"timer_desc\") attribute since DECLARE_KEEP_PAGER(timer_desc) makes the struct and its dependencies unpaged anyway.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since timer_desc is already ...
null
OP-TEE__optee_os__6779
OP-TEE/optee_os
6,779
defect
fc57019cb35c8c1bad66fc6d814ace5debde170a
56edae55700e719a1820f30dd854aa5eb0512460
Add support for using a different MGF1 hash with RSA-OAEP
<!-- If you are new to submitting pull requests to OP-TEE, then please have a look at the list below and tick them off before submitting the pull request. 1. Read our contribution guidelines: https://optee.readthedocs.io/en/latest/general/contribute.html 2. Read the contribution sectio...
diff --git a/core/crypto/crypto.c b/core/crypto/crypto.c index 7b849bf4533..25af198a469 100644 --- a/core/crypto/crypto.c +++ b/core/crypto/crypto.c @@ -597,6 +597,7 @@ TEE_Result crypto_acipher_rsaes_decrypt(uint32_t algo __unused, struct rsa_keypair *key __unused, const uint8_t *label __unused, size...
5
4
0
[{"id": "G0", "claim": "An xtest case (in the 4xxx range, either new or extending an existing one) should be added so that RSA-OAEP with a different MGF1 hash is shown to keep working.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new EMSG in core/...
null
OP-TEE__optee_os__6881
OP-TEE/optee_os
6,881
defect
464ebf5768c7062fe7c5ab625819e9e39980f750
8448b2f1df3849e48836e13124a9f605374f488a
Virt notif watchdog
This pull request adds support for notifications with nonsecure virtualization enabled. This PR needs https://patchew.org/Xen/20240529072559.2486986-1-jens.wiklander@linaro.org/ for notifications to become enabled, but it's backward compatible so nothing should break.
diff --git a/core/arch/arm/kernel/thread_spmc.c b/core/arch/arm/kernel/thread_spmc.c index cb4382ce21d..a8cdd114fe9 100644 --- a/core/arch/arm/kernel/thread_spmc.c +++ b/core/arch/arm/kernel/thread_spmc.c @@ -440,8 +440,13 @@ void spmc_handle_rxtx_unmap(struct thread_smc_args *args, struct ffa_rxtx *rxtx) if (!rxtx->...
4
2
0
[{"id": "G0", "claim": "The first line of the new comment block in spmc_handle_rxtx_unmap() is missing a period at the end.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The guest ID in the IMSG in virt_guest_destroyed() (and at line 433) should ...
null
OP-TEE__optee_os__6944
OP-TEE/optee_os
6,944
defect
1c0d52ace3c237ca6276cafb5c73f699a75c1d40
dac91d43eebf1f6c0e162941417760d925a0786a
libutils: qsort helper for standard types
Add `qsort_int()`, `qsort_uint()`, `qsort_u32()` and friends as `qsort()` helper functions to sort standard typed arrays. I needed to use `qsort()` in few separated source files and needed to redefine locally the `cmp_xxx()` callback so I think it's worth having some generic helper functions.
diff --git a/core/arch/arm/plat-stm32mp1/drivers/stm32mp1_pmic.c b/core/arch/arm/plat-stm32mp1/drivers/stm32mp1_pmic.c index 42735b8985e..e2cc68aec95 100644 --- a/core/arch/arm/plat-stm32mp1/drivers/stm32mp1_pmic.c +++ b/core/arch/arm/plat-stm32mp1/drivers/stm32mp1_pmic.c @@ -389,14 +389,6 @@ static TEE_Result pmic_set...
1
1
0
[{"id": "G0", "claim": "Replace the many repeated per-type cmp/qsort helper functions with a QSORT_HELPLER(name, type) macro to avoid the duplicated code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OP-TEE__optee_os__6965
OP-TEE/optee_os
6,965
defect
773d3f838f1b418257472a78e2b0425e6f439537
ed8d11a880879f7d2f6edcd0e4b4bb97bdf45cdc
Mem map cleanup
<!-- If you are new to submitting pull requests to OP-TEE, then please have a look at the list below and tick them off before submitting the pull request. 1. Read our contribution guidelines: https://optee.readthedocs.io/en/latest/general/contribute.html 2. Read the contribution sectio...
diff --git a/lib/libutils/ext/array.c b/lib/libutils/ext/array.c new file mode 100644 index 00000000000..b7b59a9ed78 --- /dev/null +++ b/lib/libutils/ext/array.c @@ -0,0 +1,51 @@ +// SPDX-License-Identifier: BSD-2-Clause +/* + * Copyright (c) 2024, Linaro Limited + */ + +#include <assert.h> +#include <stdint.h> +#inclu...
3
3
0
[{"id": "G0", "claim": "The branch-and-return structure of ins_array_elem() could be restructured to copy conditionally and return the insertion address in one exit.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The helper rem_array_elem_pad_ze...
null
OP-TEE__optee_os__7073
OP-TEE/optee_os
7,073
defect
00b45463cbd567095098e87391b992bf5ac1789b
4f885e47801e3bcd1a40db8d6ecefef99ffa1e11
core: cache some embedded DT info (take 2)
This change supersedes https://github.com/OP-TEE/optee_os/pull/7067. Main difference is that we no more bisect into the cached node structure (since it does not speeds up boot time) and this change proposes a new helper function: `fdt_reg_info()` to look-up parent node once when retrieving the `reg` property base addre...
diff --git a/core/include/kernel/dt.h b/core/include/kernel/dt.h index dc3bb7adb00..a5a1161b7eb 100644 --- a/core/include/kernel/dt.h +++ b/core/include/kernel/dt.h @@ -489,4 +489,58 @@ static inline void *get_manifest_dt(void) } #endif /* !CFG_DT */ + +#ifdef CFG_DT_CACHED_NODE_INFO +/* + * Find the offset of a pa...
8
7
0
[{"id": "G0", "claim": "In fdt_fill_device_info(), when the `if (cuint && ...)` condition is not true, it is unclear whether the default values left in dinfo.reg and dinfo.reg_size are useful.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The cached-...
null
OP-TEE__optee_os__7236
OP-TEE/optee_os
7,236
defect
0ed372c63cba03c0d36dd243e441624863273e72
801a9bd37fda744a26c586f12e2e0bebc7e26796
[RFC] riscv: drivers: Implement APLIC and IMSIC drivers
Implement the APLIC and IMSIC drivers which introduced by the "RISC-V Advanced Interrupt Architecture" specification: [https://github.com/riscv/riscv-aia](url) The drivers support two modes: 1. APLIC only: Some systems without IMSIC only have APLIC, which replaces the original PLIC as the Advanced PLIC. The role...
diff --git a/core/arch/riscv/include/riscv.h b/core/arch/riscv/include/riscv.h index df15adb4c76..94dec4018b6 100644 --- a/core/arch/riscv/include/riscv.h +++ b/core/arch/riscv/include/riscv.h @@ -54,6 +54,9 @@ #define CSR_XCAUSE (CSR_MODE_BITS | 0x042) #define CSR_XTVAL (CSR_MODE_BITS | 0x043) #define CSR_XIP (...
42
31
4
[{"id": "G0", "claim": "The PR copies APLIC/IMSIC code from Linux and OpenSBI, and the author asks whether the original authors must be informed or other licensing action taken, given OP-TEE does not accept GPL code.", "category": "licensing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1...
null
OP-TEE__optee_os__7238
OP-TEE/optee_os
7,238
defect
edc125c5442a4276b1c5f369415e64f4d12ab3c3
ae96adcf1f1d30d8935199478607e86080274f58
core: fix partially unmapped MEM_AREA_TEE_RAM_RW
The commit 06a258064a92 ("core: mm: allow unmapping VCORE_FREE") allows unmapping page from the VCORE_FREE virtual memory range, but no bookkeeping is added apart from what's recorded in the translation tables. Later, the commit 7c9b85432343 ("core: allow partially unmapped MEM_AREA_TEE_RAM_RW") does lookups the transl...
diff --git a/core/mm/core_mmu.c b/core/mm/core_mmu.c index 639f82f001c..2d0b042b33d 100644 --- a/core/mm/core_mmu.c +++ b/core/mm/core_mmu.c @@ -44,6 +44,8 @@ tee_mm_pool_t core_virt_mem_pool; /* Virtual memory pool for shared memory mappings */ tee_mm_pool_t core_virt_shm_pool; +static bitstr_t *vcore_free_mapped_...
3
3
2
[{"id": "G0", "claim": "Compute page_count in phys_to_virt_tee_ram() so it also works when `pa` is not page-aligned, e.g. (ROUNDUP(pa + len, SMALL_PAGE_SIZE) - ROUNDDOWN(pa, SMALL_PAGE_SIZE)) / SMALL_PAGE_SIZE, as the reviewer proposed for flexibility.", "category": "correctness", "verdict": "supported", "priority": "P...
null
OP-TEE__optee_os__7378
OP-TEE/optee_os
7,378
defect
45c754cea36aa970be953a3e579ff81a63eb461f
2f8cce6c9e8668b8c1d48efbca200af1ae50b163
Add framework for Logical SPs
<!-- If you are new to submitting pull requests to OP-TEE, then please have a look at the list below and tick them off before submitting the pull request. 1. Read our contribution guidelines: https://optee.readthedocs.io/en/latest/general/contribute.html 2. Read the contribution sectio...
diff --git a/core/arch/arm/include/kernel/secure_partition.h b/core/arch/arm/include/kernel/secure_partition.h index 65e9aec227e..723d618cfd8 100644 --- a/core/arch/arm/include/kernel/secure_partition.h +++ b/core/arch/arm/include/kernel/secure_partition.h @@ -74,8 +74,8 @@ static inline struct sp_ctx *to_sp_ctx(struct...
2
2
0
[{"id": "G0", "claim": "Style fixes requested on the PR's own changes: remove the extra empty line after the new includes in core/arch/arm/include/kernel/thread_spmc.h, and use TEE_SUCCESS instead of 0 for the TEE_Result initialisation in handle_yielding_call() in core/arch/arm/kernel/thread_spmc.c.", "category": "main...
null
OP-TEE__optee_os__7380
OP-TEE/optee_os
7,380
defect
d0ea0f9f5933b201299b6d35cb862a19eb7cf3d9
4933549dbce6be312421ebc9a614e99780302b77
Crt builtins for long long division
This is trying to address https://github.com/OP-TEE/optee_os/issues/7374
diff --git a/lib/libutils/compiler-rt/LICENSE.TXT b/lib/libutils/compiler-rt/LICENSE.TXT new file mode 100644 index 00000000000..5a79a1b9d5c --- /dev/null +++ b/lib/libutils/compiler-rt/LICENSE.TXT @@ -0,0 +1,311 @@ +============================================================================== +The LLVM Project is und...
3
2
0
[{"id": "G0", "claim": "The newly added `subdirs-y += compiler-rt` line should be gated by a new `CFG_LIBUTILS_WITH_COMPILER_RT` option, consistent with `CFG_LIBUTILS_WITH_ISOC`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The mk/config.mk entry for t...
null
OP-TEE__optee_os__7398
OP-TEE/optee_os
7,398
defect
447c5f6bc49ff5408c0543ceaaabf0cb8f23804d
db3638995af20a95a2861544854891cb7c30b1c4
Iwdg/get timeleft
This series starts by reworking the watchdog driver stm32_iwdg, then adds in the watchdog framework the implementation of the optional SMCWD_GET_TIMELEFT and, at last, provides an implementation of the optional SMCWD_GET_TIMELEFT in the driver stm32_iwdg.
diff --git a/core/drivers/stm32_iwdg.c b/core/drivers/stm32_iwdg.c index 4f91ce0812d..7e357654bfa 100644 --- a/core/drivers/stm32_iwdg.c +++ b/core/drivers/stm32_iwdg.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (c) 2017-2022, STMicroelectronics - All Rights Reserved + * Copyright (c) 2...
1
1
0
[{"id": "G0", "claim": "The error code returned by clk_enable() for the watchdog clocks in stm32_iwdg_setup is not checked.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
OP-TEE__optee_os__7478
OP-TEE/optee_os
7,478
defect
1e3d23f815a50fa8fb6582958fa0ece5639bac3c
7a4d9b90f405fb49db24653774ac2c74e5473ff3
Fix GPIO framework to prevent glitch when requesting an output GPIO
Hello, During internal test I discovered that a voltage glitch appeared on boards with discrete regulators. After further investigation I find out that when a GPIO is retrieved from the device tree it's configured as input and then the function gpio_set_direction() is called to configure the GPIO as output. This i...
diff --git a/core/drivers/gpio/gpio.c b/core/drivers/gpio/gpio.c index bcdb91cc8ed..4b8fa783cd2 100644 --- a/core/drivers/gpio/gpio.c +++ b/core/drivers/gpio/gpio.c @@ -10,6 +10,9 @@ #include <tee_api_types.h> #include <util.h> +/* gpio suffixes used for device tree lookup */ +static const char * const gpio_suffixe...
3
1
0
[{"id": "G0", "claim": "The snprintf() return value should be checked, at least asserted, when building the DT property name in gpio_dt_get_by_index().", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Introduce a DT_PROP_NAME_SIZE_MAX macro in core/kern...
null
OP-TEE__optee_os__7481
OP-TEE/optee_os
7,481
defect
d8bfc12adf630774736717f9b8cf31f22c0579e2
afe2c04a9264973253ef231dd571cf9d60541fe5
Several ASan fixes
Hi, This PR introduces two improvements related to AddressSanitizer (ASan) support: - Redzones after global variables Adds redzones after global variables, particularly benefiting `.rodata` variables. The shadow memory related to `.rodata` section is zeroed out in `init_asan()` (what is not true for `.data` or `...
diff --git a/core/kernel/asan.c b/core/kernel/asan.c index deebe8801bc..3272fd77177 100644 --- a/core/kernel/asan.c +++ b/core/kernel/asan.c @@ -413,9 +413,16 @@ void __asan_register_globals(struct asan_global *globals, size_t size) { size_t n; - for (n = 0; n < size; n++) - asan_tag_access((void *)globals[n].beg...
4
4
0
[{"id": "G0", "claim": "Since the pull request changes __asan_register_globals, `n` should be zero-initialized at declaration.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Each local variable in __asan_register_globals should be declared in ...
null
OPM__opm-simulators__4899
OPM/opm-simulators
4,899
defect
d6f2f1e3ff3a7f359fad39493a02e0c8470fa6aa
7cd0456626cd4b8260cb20ba3ffb1195bfa58641
Add DILU preconditioner
This PR adds the Diagonal-ILU (DILU) preconditioner to OPM-Simulators. DILU is a simplified version of the ILU(0) where only the diagonal terms are factorised, which means that we only need to store the diagonol for applying the preconditioner. More details on the method can be found here: https://netlib.org/linalg...
diff --git a/CMakeLists_files.cmake b/CMakeLists_files.cmake index 7a0f8f34107..fe233ac7d9e 100644 --- a/CMakeLists_files.cmake +++ b/CMakeLists_files.cmake @@ -239,6 +239,7 @@ list (APPEND TEST_SOURCE_FILES tests/test_convergenceoutputconfiguration.cpp tests/test_convergencereport.cpp tests/test_deferredlogge...
12
11
1
[{"id": "G0", "claim": "The DILU creator lambda body in PreconditionerFactory_impl.hpp is indented weirdly (the DUNE_UNUSED_PARAMETER line is far too deep).", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new \"dilu\" convenience option just calls the ...
null
OPM__opm-simulators__5002
OPM/opm-simulators
5,002
defect
5a6af752e32d23765cc2162b85a0b46b379c32bb
8eb4c1c7a4b9b5df2b20bdf782091c4bbe991cf6
Add cudilu
Draft version of GPU DILU preconditioner This DILU implementation uses graph coloring to parallelize the apply and update step of the preconditioner. Supports blocksizes up to 3, and also a float version for benchmarking.
diff --git a/CMakeLists_files.cmake b/CMakeLists_files.cmake index a07e6e63ad0..c9b4d978422 100644 --- a/CMakeLists_files.cmake +++ b/CMakeLists_files.cmake @@ -159,6 +159,7 @@ if(CUDA_FOUND) list (APPEND MAIN_SOURCE_FILES opm/simulators/linalg/cuistl/CuVector.cpp) list (APPEND MAIN_SOURCE_FILES opm/simulators/li...
16
13
1
[{"id": "G0", "claim": "The new preconditioner creators can use `[[maybe_unused]]` on the unused `prm` parameter instead of `DUNE_UNUSED_PARAMETER`, which is not really needed anymore.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a sanity ...
null
OPM__opm-simulators__5114
OPM/opm-simulators
5,114
defect
8b4bc32d620026d58959148cf6324f0ded2509b6
b530409cc92c80b82b09a54ff9ac9ced98ccbd12
Add co2 mass in place summary vectors
Depends on https://github.com/OPM/opm-common/pull/3868
diff --git a/ebos/eclgenericoutputblackoilmodule.cc b/ebos/eclgenericoutputblackoilmodule.cc index 2b98cd3c3e8..a63e68f1f3a 100644 --- a/ebos/eclgenericoutputblackoilmodule.cc +++ b/ebos/eclgenericoutputblackoilmodule.cc @@ -110,6 +110,21 @@ std::string EclString(const Opm::Inplace::Phase phase) case Opm::Inplace:...
2
1
0
[{"id": "G0", "claim": "The body of the CO2-in-water if statement in ebos/ecloutputblackoilmodule.hh should be extracted into a new helper function so the code does not grow back into the tangle that prompted #4874.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"...
null
OPM__opm-simulators__5168
OPM/opm-simulators
5,168
defect
644ba538d8b0f2fe870396ea2930fa4df0fd7539
feb2a2a1a646bfcf1d4a4d199eee73aefd58fe7a
Feature/remove files on simulation startup
@bska @blattms @akva2 I've added a 'cleanDeck' function in Opm namespace that removes possible old simulation output files from the specified output directory. This function is called during 'setupLogging' before the actual logging starts. Can you have a look at this and give me some improvement tips/feedback? Th...
diff --git a/opm/simulators/flow/Main.cpp b/opm/simulators/flow/Main.cpp index 4d16bdad006..ff51879a0c0 100644 --- a/opm/simulators/flow/Main.cpp +++ b/opm/simulators/flow/Main.cpp @@ -188,14 +188,13 @@ void Main::readDeck(const std::string& deckFilename, const bool init_from_restart_file, ...
2
2
2
[{"id": "G0", "claim": "cleanDeck() should run only on the I/O rank with the other ranks waiting for its completion rather than on all processes.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The removal of old output files should use std::filesyst...
null
OPM__opm-simulators__5253
OPM/opm-simulators
5,253
defect
d3b22323f1647077eba27ff580efb9cec4ad559a
c1fecd158f0644660ba3caacbc6cfeceefcc4374
Add HIP support
This PR adds support for using hipify on the cuda code to allow for GPU support on both AMD and Nvidia architectures. The HIP code is hidden from the programmer in the build directory, and the cmake adds dependencies to only recompile the necessary files when making changes in the cuda source code. This PR is still ...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 82139da8a6f..df440da44df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ # Mandatory call to project -cmake_minimum_required (VERSION 3.10) +cmake_minimum_required (VERSION 3.25) project(opm-simulators C CXX) @@ -33,6 +33,21 @@ option(BUILD...
3
2
0
[{"id": "G0", "claim": "The usage comment in bin/hipify_file.sh misspells 'inteded' and should read 'intended'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The copyright header of the new PreconditionerFactoryGPUIncludeWrapper.hpp carries old y...
null
OPM__opm-simulators__5490
OPM/opm-simulators
5,490
defect
9f76155312d1c5f96c0be15bcd9205854c0251a0
1e288cd0d86d05ef1e02121a178299d96aa34834
Use cell temperature in perforated cell to compute reservoir rates
Depends on https://github.com/OPM/opm-common/pull/4152 See description there.
diff --git a/opm/simulators/wells/BlackoilWellModel_impl.hpp b/opm/simulators/wells/BlackoilWellModel_impl.hpp index 2a2e05913f2..26bb27f6ab0 100644 --- a/opm/simulators/wells/BlackoilWellModel_impl.hpp +++ b/opm/simulators/wells/BlackoilWellModel_impl.hpp @@ -812,6 +812,7 @@ namespace Opm { initializeWellState(co...
4
3
0
[{"id": "G0", "claim": "With CO2STORE active and pu.has_energy false, the new condition always sends injectors down the bhp-and-temperature conversion path, and it is unclear whether a meaningful well temperature is always calculated/set in that case.", "category": "correctness", "verdict": "opposed", "priority": "P1",...
null
OSGeo__PROJ__4021
OSGeo/PROJ
4,021
defect
3cc757fb8a4ce6947147a9ff46e7b6a7f0248a2d
71078dda0b0d3c8fe8222277d8eb574558efa7a1
Add +proj=mod_krovak projection method for Modified Krovak that applies to S-JTSK/05 in the Czech Republic
Validated with the test point given in EPSG Guidance Note 7-2 Also validated with CUZK online calculator at https://geoportal.cuzk.cz/(S(g4ipaut0ckzb5lellu153lvf))/Default.aspx?head_tab=sekce-01-gp&mode=TextMeta&text=wcts&menu=19 Unfortunately this calculator does not offer 'elementary' transformations, and canno...
diff --git a/docs/source/operations/projections/index.rst b/docs/source/operations/projections/index.rst index fd2f1b0e99..8b89244e2d 100644 --- a/docs/source/operations/projections/index.rst +++ b/docs/source/operations/projections/index.rst @@ -93,6 +93,7 @@ Projections map the spherical 3D space to a flat 2D space. ...
3
1
0
[{"id": "G0", "claim": "The user-facing naming should read \"Modified Krovak\" rather than \"Krovak Modified\": the doc title and figure alt text, the PROJ_HEAD descriptions in src/pj_list.h and src/projections/krovak.cpp, and the correction-terms comment all use the wrong form.", "category": "documentation", "verdict"...
null
OSGeo__PROJ__4042
OSGeo/PROJ
4,042
defect
af8a4edc4e0ce9e56098439181d6f717bcadd5a6
e40baa0866b017238c5feb82d1b15de0797cd263
Freeze hard-coded prime meridians and note they are no longer updated
This PR "freezes" hard-coded prime meridians that are listed in `src/datums.cpp`'s `PJ_PRIME_MERIDIANS` struct. This has only had a few modifications since it was added 22 years ago (27c197f9da8005a2fd58bb8d902beb0864a2916b), but has some omissions (#4031) and some values conflict with other sources (#4029, #4030). Als...
diff --git a/docs/source/apps/cs2cs.rst b/docs/source/apps/cs2cs.rst index 4e6221dcbb..bbaf19294d 100644 --- a/docs/source/apps/cs2cs.rst +++ b/docs/source/apps/cs2cs.rst @@ -104,6 +104,10 @@ The following control parameters can appear in any order: List of all ellipsoids that can be selected with the *+ellps* p...
4
4
0
[{"id": "G0", "claim": "The docs should not call the hard-coded prime meridians a \"legacy PROJ.4 feature\", since PROJ.4 itself is legacy and prime meridians are no more legacy than +datum, +ellps or +units.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "...
null
OSGeo__PROJ__4237
OSGeo/PROJ
4,237
defect
58fca6dc51ac6c5500aae6b40b978acd2248e433
54903597b629b034806e3c356b2377f10a37e782
GeographicBoundingBox::create(): accept degenerate bounding box reduced to a point or a line
by extending it by the minimal amount to form a non-degenerate one. Also throws when south > north Fixes #4236 and: cs2cs and projinfo: emit warning when it looks like longitude and latitudes have been switched in --bbox
diff --git a/src/apps/cs2cs.cpp b/src/apps/cs2cs.cpp index 88353bf8f0..551249235e 100644 --- a/src/apps/cs2cs.cpp +++ b/src/apps/cs2cs.cpp @@ -36,6 +36,7 @@ #include <string.h> #include <cassert> +#include <cmath> #include <cstdint> #include <iostream> #include <string> @@ -448,9 +449,23 @@ int main(int argc, ch...
2
2
2
[{"id": "G0", "claim": "In the degenerate-point handling, the condition guarding the west adjustment should be `if (west > -180)` rather than `if (west > 180)`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The degenerate-bounding-box handling shou...
null
OSGeo__PROJ__4265
OSGeo/PROJ
4,265
defect
e3b6bb2a550932a73a0a7c282a993acdbe2c5838
eacc1e0d78e0b062afd4251ec0163b8a458fc6c9
Add CMake options EMBED_RESOURCE_FILES and USE_ONLY_EMBEDDED_RESOURCE_FILES for proj.db and proj.ini embedding
Implements https://github.com/OSGeo/PROJ/pull/4274
diff --git a/.github/workflows/clang_linux.yml b/.github/workflows/clang_linux.yml index 0794d4bb8b..b0cfe2cdb4 100644 --- a/.github/workflows/clang_linux.yml +++ b/.github/workflows/clang_linux.yml @@ -31,6 +31,10 @@ jobs: id: regular PROJ_CMAKE_BUILD_OPTIONS: "" + - name: EMBED_RE...
4
2
0
[{"id": "G0", "claim": "Add `const` to the generated `unsigned ${c_name}_size` definition and its extern declaration.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use `#include <stdint.h>` instead of `#include \"stdint.h\"` in the generated he...
null
OSGeo__PROJ__4318
OSGeo/PROJ
4,318
defect
9f2289cfdca3dbb69444e6f1ef5ab18906f17dfc
74a9e62940d21dbb15b0863bf6c66f4815099866
createObjectsFromName(): be more tolerant about N/S vs North/South, absence of zone or height
We want the following matches to be possible: ``` user entry official name ------------------ ---------------- EGM96 EGM96 height WGS84 UTM31 north WGS 84 / UTM zone 31N ```
diff --git a/include/proj/metadata.hpp b/include/proj/metadata.hpp index 42b3925490..c894ccc1ac 100644 --- a/include/proj/metadata.hpp +++ b/include/proj/metadata.hpp @@ -397,11 +397,15 @@ class PROJ_GCC_DLL Identifier : public util::BaseObject, PROJ_DLL static bool isEquivalentName(const char *a, ...
2
1
0
[{"id": "G0", "claim": "matchesLowerCase(\"JavaScript\", \"java\") returning true while matchesLowerCase(\"Java\", \"javaScript\") returns false looks unintentional; if unintentional, the function should return true only when both strings have ended (return c_str[i] == 0 && needle[i] == 0).", "category": "correctness",...
null
OSGeo__PROJ__4427
OSGeo/PROJ
4,427
defect
4ead47b7e9bbaa1f24c9e25fb168d06923d48dec
02544752028fa33065a83a53424342b68ac94508
Deal with South Orientated TMerc presented as regular TMerc but with Scale_Factor=-1
such as ESRI:102470 Fixes #4425
diff --git a/src/iso19111/operation/conversion.cpp b/src/iso19111/operation/conversion.cpp index 1ac04a781f..3d6dbe9753 100644 --- a/src/iso19111/operation/conversion.cpp +++ b/src/iso19111/operation/conversion.cpp @@ -3891,6 +3891,8 @@ void Conversion::_exportToPROJString( bool bConversionDone = false; bool ...
1
1
0
[{"id": "G0", "claim": "The comment added to conversion.cpp says +axis=swu where it should say +axis=wsu, matching the string actually emitted by the code and the test.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OSGeo__PROJ__4513
OSGeo/PROJ
4,513
defect
c927bb19dfdb036c8c8d757a98203de3c94b2cd1
6ba75c1b226f8409c1a6091ebe919d9dd479c4a8
proj_trans_bounds(): sample points within the source grid to avoid missing extent such as world-wide coverage from EPSG:4326 to ESRI:54099 (Spilhaus)
Relates/fixes https://github.com/qgis/QGIS/issues/61318
diff --git a/src/trans_bounds.cpp b/src/trans_bounds.cpp index 35522d9c3e..f0fea0970e 100644 --- a/src/trans_bounds.cpp +++ b/src/trans_bounds.cpp @@ -33,6 +33,7 @@ #include <math.h> #include <algorithm> +#include <cmath> #include <limits> // ---------------------------------------------------------------------...
1
1
0
[{"id": "G0", "claim": "Fix the misspelled comment \"Use GIS frienly order\" to \"Use GIS friendly order\" at both sites in src/trans_bounds.cpp (proj_trans_bounds and proj_trans_bounds_3D).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
OSGeo__PROJ__4676
OSGeo/PROJ
4,676
defect
ac9ac9f21ddca02a5a816861a059911b9e774dfc
74b6ecdb69fcc2995d3e1ab3fa0ae9c88fb43b7f
Fix issue with WGS 84 + EGM2008 -> Amersfoort + NAP height (master only)
Fixes https://lists.osgeo.org/pipermail/proj/2026-February/011959.html Output of projinfo EPSG:4326+3855 EPSG:7415 --spatial-test intersects --------------------------------------------------------------------- 9.7.1 +++++ Operation No. 1: ``` unknown id, Inverse of WGS 84 to EGM2008 height (1) + ...
diff --git a/src/iso19111/operation/coordinateoperationfactory.cpp b/src/iso19111/operation/coordinateoperationfactory.cpp index a47391b507..666ee538c0 100644 --- a/src/iso19111/operation/coordinateoperationfactory.cpp +++ b/src/iso19111/operation/coordinateoperationfactory.cpp @@ -7033,7 +7033,7 @@ void CoordinateOper...
1
1
0
[{"id": "G0", "claim": "The new comment should read \"// Use the results of this new attempt if they are better\" instead of \"if there are better\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OSGeo__PROJ__4736
OSGeo/PROJ
4,736
defect
ff6a2b601655eaaa870b0b962cde38cac094296c
5bc90477b0531c2b3bba34c6754cab209d59efb3
DRAFT: Yet another MEGA (Make ETRS89 Great Again) fix!
- Database: import aliases for coordinate operations involving ETRS89 - Yet another MEGA (Make ETRS89 Great Again) fix! I've been made aware that ETRS89 to MGI was semi broken since the EPSG update that added a ETRS89-AUT [2002] datum and migrated the 'MGI to ETRS89 (8)' transformation using the...
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 7b5a685b17..d9df053320 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -31,7 +31,7 @@ set(ALL_SQL_IN "${CMAKE_CURRENT_BINARY_DIR}/all.sql.in") set(PROJ_DB "${CMAKE_CURRENT_BINARY_DIR}/proj.db") include(sql_filelist.cmake) -set(PROJ_DB_SQL_EX...
7
5
0
[{"id": "G0", "claim": "The ETRS89-specific alias filtering in scripts/build_db.py should be explained with a comment and a link to this PR.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The condition (srcIsETRS89 || dstIsETRS89) && !(srcIsETRS89...
null
OSGeo__gdal__11314
OSGeo/gdal
11,314
defect
1344d8ddd5438668d99568ae603fbfa439673d3a
dae81edff2d8143a0f2078ba70cf67d2c53605a3
CMake: export -DGDAL_DEBUG as PUBLIC for debug builds
Fixes #11311 @SunBlack can you give this a try?
diff --git a/autotest/postinstall/test_cpp/test_cpp.cpp b/autotest/postinstall/test_cpp/test_cpp.cpp index b928a03b9205..173daa14f6f2 100644 --- a/autotest/postinstall/test_cpp/test_cpp.cpp +++ b/autotest/postinstall/test_cpp/test_cpp.cpp @@ -9,6 +9,7 @@ #endif #include <cpl_vsi_virtual.h> #include <ogr_geometry.h> ...
2
2
1
[{"id": "G0", "claim": "Exporting the generic, unprefixed DEBUG macro as a PUBLIC compile definition is risky because other libraries may use it or be influenced by it, so it needs a GDAL_-style prefix (or a standard macro such as NDEBUG).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "intr...
null
OSGeo__gdal__12198
OSGeo/gdal
12,198
defect
6a68918b5f438000e5e2e9fa196f2c35b6267b6f
e1aad918c7b538ee6c3e5a2987875620c1a05289
GDALWarp: Harden NoData value parsing
- Issue error if `-srcnodata` and `-dstnodata` cannot be parsed - Issue error if numeric input to `INIT_DEST` cannot be parsed - Temporarily allow `INIT_DEST=NO_DATA` without a NoData value, to accommodate rasterio usage
diff --git a/alg/gdalwarpoperation.cpp b/alg/gdalwarpoperation.cpp index ccaa578df878..cfd21b8bfad8 100644 --- a/alg/gdalwarpoperation.cpp +++ b/alg/gdalwarpoperation.cpp @@ -801,8 +801,10 @@ CPLErr GDALWarpOperation::InitializeDestinationBuffer(void *pDstBuffer, { if (psOptions->padfDstNoDataReal...
2
1
0
[{"id": "G0", "claim": "The INIT_DEST=NO_DATA warning message should state that this warning will become a failure in a future GDAL release.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The left-in `return CE_Failure` still makes INIT_DEST=NO_DA...
null
OSGeo__gdal__12406
OSGeo/gdal
12,406
defect
2cf7f89c26d45913fe8a55e1f5c80610ac21b842
e90609ed09ac86c51c68fd1e3422e60b3dd1f1f9
VRTDerivedRaster: optimizations, in particular for sum(), and make 'gdal raster calc' use sum() when possible
- GDALDataTypeUnion(): adjust to avoid Byte + CInt32 to go to CFloat64 - VRTDerivedRasterBand::IRasterIO(): select a smaller source transfer type that the output buffer type if possible - gdal raster calc: remove setting SourceTransferType (no longer needed since above commit) - VRTDerivedRasterBand::IRasterIO(): do...
diff --git a/apps/gdalalg_raster_calc.cpp b/apps/gdalalg_raster_calc.cpp index 51e349b01a6e..cde6004896e1 100644 --- a/apps/gdalalg_raster_calc.cpp +++ b/apps/gdalalg_raster_calc.cpp @@ -227,6 +227,28 @@ UpdateSourceProperties(SourceProperties &out, const std::string &dsn, return source; } +static bool IsSumAll...
2
2
0
[{"id": "G0", "claim": "The input-name check in ParseSourceDescriptors should live in the expression/VRT layer rather than gdal raster calc, and before it does, invalid names such as '--input=_pi' must be rejected so builtin constants like '_pi' cannot be overwritten.", "category": "design", "verdict": "supported", "pr...
null
OSGeo__gdal__12457
OSGeo/gdal
12,457
defect
ba0dc2cab7f6fd173c2c460f1218ec19e03a3725
9e76536cf994d19189d1b11c64c38a8cfe63f532
Add masking to viewshed.
## What does this PR do? Adds angular, pitch and minimum distance masking to the viewshed app. ## What are related issues/pull requests? Issue #11533 A few of the CI runs are still failing, but they don't seem related to the code changes.
diff --git a/alg/viewshed/util.cpp b/alg/viewshed/util.cpp index 1b98496f8de1..4706a5ba5ec7 100644 --- a/alg/viewshed/util.cpp +++ b/alg/viewshed/util.cpp @@ -5,6 +5,9 @@ ****************************************************************************/ #include <array> +#include <cmath> +#include <iostream> +#include ...
4
4
0
[{"id": "G0", "claim": "The documentation for the new --min-distance, --start-angle, --end-angle, --high-pitch and --low-pitch options should follow the project convention by adding a '.. versionadded:: 3.12' directive and appending ', in degree' to the unit descriptions.", "category": "documentation", "verdict": "supp...
null
OSGeo__gdal__12494
OSGeo/gdal
12,494
defect
72e6b70a11bbeb3654379d3fc077a96b8f7a0999
fa7df375260e5392c11e56de734ba5ef94124efc
GTiff: use CPLFormatReadableFileSize() to display needed storage size
Fixes #12480
diff --git a/autotest/cpp/test_cpl.cpp b/autotest/cpp/test_cpl.cpp index 1c6ae0e3df35..26fe745d8173 100644 --- a/autotest/cpp/test_cpl.cpp +++ b/autotest/cpp/test_cpl.cpp @@ -5919,4 +5919,16 @@ TEST_F(test_cpl, CPLLockFileEx) CPLUnlockFileEx(nullptr); } +TEST_F(test_cpl, CPLFormatReadableFileSize) +{ + EXPEC...
1
1
1
[{"id": "G0", "claim": "The doc-comment examples use a comma instead of a dot — e.g 1200000 should read \"1.20 MB\", not \"1,20 MB\".", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OSGeo__gdal__12538
OSGeo/gdal
12,538
defect
81d2c38172189b101928e9e0cb98429097f2d805
772e0339bdb87e2b03fb4503e6b98cf1be019d20
PG/PGDump: fix truncation of identifiers with UTF-8 characters
Fixes #12532
diff --git a/autotest/cpp/CMakeLists.txt b/autotest/cpp/CMakeLists.txt index 485554c511dd..d28506e93cab 100644 --- a/autotest/cpp/CMakeLists.txt +++ b/autotest/cpp/CMakeLists.txt @@ -115,6 +115,7 @@ gdal_standard_includes(gdal_unit_test) target_compile_options(gdal_unit_test PRIVATE ${GDAL_CXX_WARNING_FLAGS}) target_...
3
2
1
[{"id": "G0", "claim": "The CPLError format string in OGRFeature::Validate should read \"has %\" PRIu64 \" UTF-8 characters\" instead of \"has a %\" PRIu64 \" UTF-8 characters\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "OGRPGEscapeString is ...
null
OSGeo__gdal__12674
OSGeo/gdal
12,674
defect
980f51404fe10b4cbbd647d406729712aaff4485
cbda591d42efae334a7def8dc9c87564e451f230
GDALRasterBand: Add IterateWindows()
Essentially a C++ version of https://github.com/rasterio/rasterio/blob/0e78687d17353075584be84b7c9a39f7dcaa8aa4/rasterio/_base.pyx#L841
diff --git a/autotest/cpp/test_gdal.cpp b/autotest/cpp/test_gdal.cpp index 01b8befe39ae..e72f976e1655 100644 --- a/autotest/cpp/test_gdal.cpp +++ b/autotest/cpp/test_gdal.cpp @@ -5963,4 +5963,84 @@ TEST_F(test_gdal, GDALRasterBand_arithmetic_operators) std::runtime_error); } +TEST_F(test_gdal, GDALRasterBan...
8
8
2
[{"id": "G0", "claim": "The test should create the /vsimem file with VSIMemGenerateHiddenFilename instead of a hard-coded path.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The driver Create() call should be passed tmpFilename.c_str() rather than the ...
null
OSGeo__gdal__12864
OSGeo/gdal
12,864
defect
037883cd363a7cc07ed0b3ea5ba7770e1bb79422
d7c45d4cfe18ac681932269a0f0aa589d69dd4d6
PDS4 driver updates
- [Lint] PDS4: more unique_ptr use - PDS4 vector: writer: create table layers in the same directory as the .xml file and using its base name as a prefix - PDS4: update schema to PDS4 1O00 - PDS4: read hexadecimal values in missing_constant element - PDS4: add support for Int64/UInt64 raster data types - PDS4: writ...
diff --git a/autotest/gdrivers/data/pds4/missing_constant_hexadecimal_double.xml b/autotest/gdrivers/data/pds4/missing_constant_hexadecimal_double.xml new file mode 100644 index 000000000000..93f784885e6d --- /dev/null +++ b/autotest/gdrivers/data/pds4/missing_constant_hexadecimal_double.xml @@ -0,0 +1,120 @@ +<?xml ve...
4
4
2
[{"id": "G0", "claim": "Check STARTS_WITH(pszVal, \"0x\") first so hex-length strings are not run through the character-by-character path.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Replace the hand-rolled hex parsing with a std alternative such...
null
OSGeo__gdal__12916
OSGeo/gdal
12,916
defect
47b7f08a542c4b589b17f3a2856ded74ba421d9b
0338b6a4eea8f4883ad5fbadaf97c14bee265208
ISIS3 metadata enhancements
* ISIS3: adds a _data member in json:ISIS3 metadata that contains the offline content as hexadecimal encoded. ``` "Table_SecondTable": { "Bytes": 5, "Name": "SecondTable", "StartByte": 1, "_container_name": "Table", ...
diff --git a/autotest/cpp/test_cpl.cpp b/autotest/cpp/test_cpl.cpp index 38bf47e74229..c787edc892a8 100644 --- a/autotest/cpp/test_cpl.cpp +++ b/autotest/cpp/test_cpl.cpp @@ -5984,4 +5984,17 @@ TEST_F(test_cpl, CPLGetCurrentThreadCount) #endif } +TEST_F(test_cpl, CPLHasPathTraversal) +{ + EXPECT_TRUE(CPLHasPathT...
1
1
1
[{"id": "G0", "claim": "The _data member exposed in json:ISIS3 metadata should be a plain hexadecimal string rather than an object with separate ASCII/HEX sub-members, since table content is realistically always hex and the ASCII variant diverges from the ISIS3 upstream implementation.", "category": "design", "verdict"...
null
OSGeo__gdal__13010
OSGeo/gdal
13,010
defect
ec8189d8a19af74484d40c75ab2757063c372477
be2282d0429f95f4257232f181a68918ef6400cc
gdal vector write/convert: add --upsert
Fixes #13006
diff --git a/apps/gdalalg_abstract_pipeline.h b/apps/gdalalg_abstract_pipeline.h index 7a92f60b04c4..5bd53d9671a1 100644 --- a/apps/gdalalg_abstract_pipeline.h +++ b/apps/gdalalg_abstract_pipeline.h @@ -148,6 +148,16 @@ class GDALPipelineStepAlgorithm /* non final */ : public GDALAlgorithm virtual int GetOutputT...
3
3
1
[{"id": "G0", "claim": "The --unset-fid help text reads \"Unset the feature identifier of each identifier and the FID column name\" and should say \"each feature\" (suggested rewording: \"Unset the feature identifier of each feature and the FID ...\").", "category": "documentation", "verdict": "supported", "priority": ...
null
OSGeo__gdal__13380
OSGeo/gdal
13,380
defect
d424be4b7c9ff3d2c3b3aa98318eb7c04266f210
e01c4a2fd89228036e741f8e5df11c98bdba7121
gdal raster zonal-stats: avoid integer overflows on geometries with huge coordinate values
CC @dbaston #13376 insipired me to test with even more edge cases...
diff --git a/alg/llrasterize.cpp b/alg/llrasterize.cpp index 81e1d348f12c..c7e38a3efec7 100644 --- a/alg/llrasterize.cpp +++ b/alg/llrasterize.cpp @@ -85,20 +85,16 @@ void GDALdllImageFilledPolygon(int nRasterXSize, int nRasterYSize, { dminy = padfY[i]; } - if (padfY[i] > dmaxy) + ...
2
2
2
[{"id": "G0", "claim": "Replacing the pixel-space TrimWindow with clipping the geometry envelope to the chunk extent and relying on m_srcInvGT.Apply() may let floating-point error produce an oGeomWindow one pixel outside the extent of the raster (nXOff == -1 or nXSize == RasterXSize + 1).", "category": "correctness", "...
null
OSGeo__gdal__13720
OSGeo/gdal
13,720
defect
0da2893ec3067fa1e7842719f676a5c420ba2adb
d27167f46ce3bc4abe8f85879057e5795dc26af8
overview: warn in case of conflicting mask sources
Fixes #13703 ``` $ gdal raster overview add --external sample2.tif -r average Warning 1: Raster band 1 of dataset sample2.tif has several conflicting mask sources: - nodata value - related to a raster band that is an alpha band Only the nodata value will be taken into account. 0...10...20...30...40...50...60.....
diff --git a/apps/gdalalg_raster_reproject.cpp b/apps/gdalalg_raster_reproject.cpp index 4a41c3cda8c2..0b4be3f44c4a 100644 --- a/apps/gdalalg_raster_reproject.cpp +++ b/apps/gdalalg_raster_reproject.cpp @@ -207,6 +207,7 @@ bool GDALRasterReprojectAlgorithm::RunStep(GDALPipelineStepRunContext &ctxt) CPLStringList...
2
2
1
[{"id": "G0", "claim": "HasConflictingMaskSources() and its documentation omit the internal binary mask band as a mask source that should count toward a conflict.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The manual counting loop in HasConflict...
null
OSGeo__gdal__14089
OSGeo/gdal
14,089
defect
d23f8f91bbb1cf038e1db1be5445f5397993da7c
9ee1221ee51fc3898f275a250e12d52b4561ab32
GTI on-the-fly reprojection improvements
Fixes the performance issue in the "all bands" scenario of https://github.com/OSGeo/gdal/issues/14063 - GDALWarpResolveWorkingDataType(): do not default to UInt8 before looking at data type bands - Warper: add dedicated code path for Int8 nearest neighbour resampling - GTI: add a WARPING_MEMORY_SIZE open option -...
diff --git a/alg/gdalwarper.cpp b/alg/gdalwarper.cpp index 5785717f71ae..1a2683a6c4be 100644 --- a/alg/gdalwarper.cpp +++ b/alg/gdalwarper.cpp @@ -373,6 +373,11 @@ CPLErr GDALWarpNoDataMasker(void *pMaskFuncArg, int nBandCount, *ppImageData, // Already a GByte *. ...
3
3
0
[{"id": "G0", "claim": "The sentence 'in case of multi-threaded optimizations described in the below paragraph' should read 'described in the paragraph below'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The sentence 'the value applies for each...
null
OSGeo__gdal__14108
OSGeo/gdal
14,108
defect
3bd178b8d659d0cd83daac2717128bb662f8ab51
76c8a6270b019fc0238592240e5fd2d0a087f38e
MEM driver: add public MEMCreate() C API
## What does this PR do? Add a public `gdal_mem.h` header exposing `MEMCreate()` ## What are related issues/pull requests? - Fixes #14103 ## AI tool usage - [x] AI (Copilot or something similar) supported my development of this PR. See our [policy about AI tool use](https://gdal.org/community/ai_tool_pol...
diff --git a/NEWS.md b/NEWS.md index e3e7784adab4..e2267b78bdac 100644 --- a/NEWS.md +++ b/NEWS.md @@ -177,6 +177,9 @@ LIBERTIFF driver: MBTiles driver: * Add ELEVATION_TYPE creation option +MEM driver: + * add public gdal_mem.h header exposing MEMCreate() C API + MiramonRaster driver: * Add support for exposin...
3
3
1
[{"id": "G0", "claim": "The new public MEMCreate function should not use the legacy CPL_STDCALL calling convention, in both the gdal_mem.h declaration and the memdataset.cpp definition.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The MEMCreate declara...
null
OSGeo__gdal__14157
OSGeo/gdal
14,157
defect
7175f09ac8274be59c93aaa3f468237f59ec9ef7
081b3aa744a1c1bb9d8bbc665a527a5ae428a72b
Add 'gdal vector rename-layer'
Fixes #14132
diff --git a/.github/workflows/ubuntu_24.04/reference_arg_names.txt b/.github/workflows/ubuntu_24.04/reference_arg_names.txt index 37c4e04308f3..08646e39d7c5 100644 --- a/.github/workflows/ubuntu_24.04/reference_arg_names.txt +++ b/.github/workflows/ubuntu_24.04/reference_arg_names.txt @@ -18,6 +18,7 @@ append approx-...
4
3
0
[{"id": "G0", "claim": "The help text of the reserved-characters argument should say what happens to the characters, e.g. \"Reserved character(s) to be removed\" instead of \"Reserved character(s)\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
OSGeo__gdal__14393
OSGeo/gdal
14,393
defect
12ac58ce07507430e630e11eef8de4dc0d5ae259
91fd6708a0fb851ffdf522bbf7bd0818838c870b
gdal CLI: add mention in --help when argument not available in a pipeline step
and gdal vector edit: add --output-layer in pipeline mode too Fixes #14389 ```bash $ gdal vector edit --help Usage: gdal vector edit [OPTIONS] <INPUT> <OUTPUT> Edit metadata of a vector dataset. Positional arguments: -i, --input <INPUT> Input vector datasets [required] ...
diff --git a/apps/data/gdal_algorithm.schema.json b/apps/data/gdal_algorithm.schema.json index 486c780851c1..1eea91471e4c 100644 --- a/apps/data/gdal_algorithm.schema.json +++ b/apps/data/gdal_algorithm.schema.json @@ -120,6 +120,10 @@ "type": "string", "$comment": "Hint on the expected value of t...
4
4
2
[{"id": "G0", "claim": "A C API GDALAlgorithmArgIsAvailableInPipelineStep() should be added so that language bindings can query whether an argument is available in a pipeline step.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The '(not available in a pipe...
null
OSGeo__gdal__14402
OSGeo/gdal
14,402
defect
3e04c0385630e4d42517046d9a4967dfccfeb7fd
998b946e902942c1803d3fca95a6f960dc9f6e44
[cli] API: allow to specify arg dependencies (mutual and unidirectional)
This PR adds the possibility to define via API whether an input argument depends on another and, if the dependency is mutual to specify a mutual dependency group. For instance: given arguments A, B, C - if A, B and C must all be set (or none of them), this can be enforced by specifying that they belong to the sa...
diff --git a/apps/data/gdal_algorithm.schema.json b/apps/data/gdal_algorithm.schema.json index 1eea91471e4c..70f65be2d739 100644 --- a/apps/data/gdal_algorithm.schema.json +++ b/apps/data/gdal_algorithm.schema.json @@ -154,6 +154,14 @@ "type": "boolean", "$comment": "Whether this argument is requi...
1
1
0
[{"id": "G0", "claim": "Add a C API for the GetMutualDependencyGroup() and GetDependencies() arg getters.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OWASP__Python-Honeypot__103
OWASP/Python-Honeypot
103
defect
1b89de937d5cb3962106daa8eeb4322fdfc0dbe4
7c17bab4fa714f7c3e0abce4bafbf01c12a170f4
Replace tshark with pyshark library
Replaced tshark with pyshark library with the following changes - 1. Added root user check 2. Replaced tshark call as a subprocess with the pyshark library's LiveCapture 3. Added "protocol" to the stored data 4. Added check for "store_network_captured_files" and storing of pcap files with the captured network
diff --git a/config.py b/config.py index f605af48..5c2473df 100644 --- a/config.py +++ b/config.py @@ -6,6 +6,12 @@ from core.time_helper import hours from core.compatible import generate_token +# Protocol number to protocol string table +protocol_table = { + num:name[8:] + for name,num in v...
5
4
3
[{"id": "G0", "claim": "The new pyshark-based network capture offers no verbose mode; it should support one (enable pyshark debug when verbose mode is on).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "On some setups (macOS, Python 3.7) the pyshark capt...
null
OWASP__Python-Honeypot__75
OWASP/Python-Honeypot
75
defect
8deceefe23e5861ef354245ee2893bad09f6d8bc
3479a835d47ecc13e7fbc3fd6688efa8b3b38278
Dockerfile
Add Dockerfile to setup the development environment in a docker.
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..3c265f35 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,86 @@ +FROM ubuntu +MAINTAINER Chakshu Gupta +RUN apt update + +RUN apt-get update && apt-get install -y \ + --no-install-suggests --no-install-recommends \ + add-apt-key \ + apt-utils \...
12
9
4
[{"id": "G0", "claim": "The purpose of this code is unclear: the author should explain which process needs it, or it should be removed.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out RUN commands that are not executed should be...
null
OWASP__SecurityShepherd__556
OWASP/SecurityShepherd
556
defect
cedd902de91996f29e7ec2c1580638b4372578f7
4941a1c3df9994122041226b5668e38b56925e79
XXE Challenge 1
First XXE Challenge where the app sends JSON to an endpoint and you need to find the old XML endpoint. closes #556
diff --git a/src/it/java/servlets/module/challenge/XxeChallenge1IT.java b/src/it/java/servlets/module/challenge/XxeChallenge1IT.java new file mode 100644 index 000000000..7dbe3a407 --- /dev/null +++ b/src/it/java/servlets/module/challenge/XxeChallenge1IT.java @@ -0,0 +1,202 @@ +package servlets.module.challenge; + +imp...
1
1
1
[{"id": "G0", "claim": "emailAddr, read from the request and echoed into the servlet's HTML output (including the invalid-email branch that echoes it before any validation), should be encoded for HTML output to prevent XSS.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
OWASP__SecurityShepherd__821
OWASP/SecurityShepherd
821
defect
c88250e5b8e59d9a73bb3955d2815164285f460e
0ca412cf50767857425a86476d8fc509a8f46d5e
fix: release DB connection before Argon2 verification in authUser (#819)
## Summary - Release DB connection before Argon2 password verification in `Getter.authUser()`, reducing connection hold time from ~200ms to ~2-5ms per login - Split into three phases: fetch user record (short DB hold), verify password (CPU-only, no connection), post-auth DB updates (short DB hold if needed) - Auth dec...
diff --git a/src/main/java/dbProcs/Getter.java b/src/main/java/dbProcs/Getter.java index efec4e032..2bb00dc70 100644 --- a/src/main/java/dbProcs/Getter.java +++ b/src/main/java/dbProcs/Getter.java @@ -71,162 +71,111 @@ public class Getter { * authentication process. */ public static String[] authUser(Str...
4
2
1
[{"id": "G0", "claim": "On password verification failure the method returns null immediately and never updates the user's bad-login/lockout state in the DB, which looks like a functional and security regression; add a Phase 3 failure path that reacquires a core connection and invokes the appropriate stored procedure (e...
null
OWASP__SecurityShepherd__832
OWASP/SecurityShepherd
832
defect
cb3922b8182170ea6614ac83fd4bba4bc2bb06f7
75d861077d30a5f1fc88d9319c182ed96945d4a8
perf: DDL once + per-class data reseed for integration tests (#831)
## Summary - Closes #831. Splits the per-class `executeSql()` (full schema rebuild, ~3,280 lines of SQL × 35 classes) into a JVM-once `ensureSchemaReady()` + a cheap per-class `reseedTestData()`. Test isolation is preserved — every IT class still starts from a clean, deterministic database. - Migrates all 35 IT files t...
diff --git a/.gitignore b/.gitignore index cba12f64c..3b4b09713 100644 --- a/.gitignore +++ b/.gitignore @@ -30,5 +30,10 @@ null/ # Project-specific docker/*/*.sql docker/*/*.sql-esrc +docker/*/target/ src/main/resources/onelogin.saml.properties src/main/resources/sso.properties + +# Test artifacts written to proj...
2
1
0
[{"id": "G0", "claim": "Remove the unused Logger log parameter from executeSql and update its call site in ensureSchemaReady (from executeSql(Logger log, Connection databaseConnection) to executeSql(Connection databaseConnection)).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "int...
null
OWASP__SecurityShepherd__834
OWASP/SecurityShepherd
834
defect
e605c104ed09f87dec9f43ea38fc87de94c3ddf2
75fc9bc66ae8d23599e59594c1f9f3742aa6823d
fix: return core DB connections to pool from Setter (stacked on #816)
> **Stacked on [#816](https://github.com/OWASP/SecurityShepherd/pull/816).** Merge after #816, just like [#817](https://github.com/OWASP/SecurityShepherd/pull/817) was. The diff against `dev` will include #816 + #817 until #816 lands. ## Summary Setter.java's counterpart to [#817](https://github.com/OWASP/SecurityShe...
diff --git a/src/it/java/dbProcs/GetterAuthIT.java b/src/it/java/dbProcs/GetterAuthIT.java index cae74dac0..470defdb0 100644 --- a/src/it/java/dbProcs/GetterAuthIT.java +++ b/src/it/java/dbProcs/GetterAuthIT.java @@ -28,7 +28,8 @@ public class GetterAuthIT { public static void setup() throws IOException, SQLExceptio...
13
13
4
[{"id": "G0", "claim": "In userCreateSSO(), each iteration of the de-duplication loop creates a PreparedStatement and ResultSet that are never closed, which can accumulate open cursors/statement objects on pooled connections until the connection closes; use try-with-resources for both (or reuse a single prepared statem...
null
OWASP__SecurityShepherd__838
OWASP/SecurityShepherd
838
defect
65fe4b6268ad29a2dd7f21984e20ed17573c4b85
d89e074b1113c555006eda1f0bbcbd44d6362aa8
fix: return DB connections from Getter ResultSet methods (CachedRowSet)
## Summary Three `Getter` methods returned a live JDBC `ResultSet` while leaving their owning `Connection` and `CallableStatement` borrowed from the core Hikari pool: - `Getter.getClassInfo(String)` (all classes) - `Getter.getPlayersByClass(String, String)` - `Getter.getAdmins(String)` The caller could not return th...
diff --git a/src/it/java/dbProcs/GetterIT.java b/src/it/java/dbProcs/GetterIT.java index 6f6e279f4..99139a043 100644 --- a/src/it/java/dbProcs/GetterIT.java +++ b/src/it/java/dbProcs/GetterIT.java @@ -2502,7 +2502,8 @@ public void testGetPlayersByClass() { try { String classId = findCreateClassId("playersB...
1
1
1
[{"id": "G0", "claim": "Materializing the full result set into a CachedRowSet for getPlayersByClass/getPlayersWithoutClass, whose backing procedures SELECT all matching players with no LIMIT, can be unbounded on large deployments and may cause high heap usage/latency per request; consider adding an explicit cap (e.g., ...
null
OWASP__wrongsecrets__1023
OWASP/wrongsecrets
1,023
defect
f4afadc0fe2528b5618ee41cd2627261077969bb
4aa22cd7e3e7764cbc153c965455adf4d5341125
feat: Challenge 39 based on filename as encryption key
### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Something else #### Description Adds challenge 39, which is based on weak encryption due to the choice of filename as encryption key. ### Relations Relates #975 ...
diff --git a/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge39.java b/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge39.java new file mode 100644 index 0000000000..9f468d25e9 --- /dev/null +++ b/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge39.java @@ -0,0 +1,98 @@ +p...
7
7
3
[{"id": "G0", "claim": "Add a test assertion that a failed decryption (\"error_decryption\") is not accepted as the answer, so the decryption logic is actually verified.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Annotate getSolution() with @Suppres...
null
OWASP__wrongsecrets__1037
OWASP/wrongsecrets
1,037
defect
2dad501d490202996f9f15d7ece8bd0f174d5540
e3fae388d3fb1bcb7b9be3d54653461300933630
feat: Challenge 41 based on Password shucking
<!-- Thank you for submitting a pull request to the WrongSecrets app! See what makes a good PR at https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md--> ### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Some...
diff --git a/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge41.java b/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge41.java new file mode 100644 index 0000000000..1939355962 --- /dev/null +++ b/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge41.java @@ -0,0 +1,98 @@ +p...
7
6
0
[{"id": "G0", "claim": "Cryptographic algorithm MD5 is weak and should not be used in Challenge41.", "category": "security", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the hardcoded base64 password hash out of the Challenge41 constructor into application.properties.", ...
null
OWASP__wrongsecrets__1107
OWASP/wrongsecrets
1,107
defect
cf47a6eba3a927610fdc0f4bcd223a366121eb70
56c3a515f77304e85d05bb35ad8533526f6e17c4
[Challenge 42] Spring boot actuator hiding api key
<!-- Thank you for submitting a pull request to the WrongSecrets app! See what makes a good PR at https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md--> ### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Some...
diff --git a/src/main/java/org/owasp/wrongsecrets/AuditConfiguration.java b/src/main/java/org/owasp/wrongsecrets/AuditConfiguration.java new file mode 100644 index 0000000000..2bfa5507a8 --- /dev/null +++ b/src/main/java/org/owasp/wrongsecrets/AuditConfiguration.java @@ -0,0 +1,32 @@ +package org.owasp.wrongsecrets; + ...
3
3
0
[{"id": "G0", "claim": "The @Order(42) annotation and its import should be removed from Challenge42 (the reviewer's suggestion block deletes the annotation line, leaving the file blank in the class-header region).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
OWASP__wrongsecrets__1144
OWASP/wrongsecrets
1,144
defect
14b65e0f5354f3f67dd52af3f73057bf91e62e7d
2fbc43736789e79c01365a2e05ff40f74a0f2e94
Challenge 43: new challenge for secret shared on social media.
### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Something else #### Description Added new challenge according to documentation. ### Relations Relates #616 ### References <img width="1297" alt="Screenshot 20...
diff --git a/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge43.java b/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge43.java new file mode 100644 index 0000000000..ca316baa0e --- /dev/null +++ b/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge43.java @@ -0,0 +1,31 @@ +p...
3
3
0
[{"id": "G0", "claim": "Instead of tests built around the hardcoded secret, the test should simply assert that the challenge accepts its own spoiler().", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Microsoft 'golden key' blunder paragraph in the ch...
null
OWASP__wrongsecrets__1147
OWASP/wrongsecrets
1,147
defect
3ed4b41fdb46d53db95d51e8bf95027b08388ac3
6d0bddbb547e0021196342a70a16b91f14b12987
Challenge 44&45: Vault Metadata challenge
<!-- Thank you for submitting a pull request to the WrongSecrets app! See what makes a good PR at https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md--> ### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Some...
diff --git a/k8s-vault-minkube-start.sh b/k8s-vault-minkube-start.sh index 43bb3de505..a97efccc28 100755 --- a/k8s-vault-minkube-start.sh +++ b/k8s-vault-minkube-start.sh @@ -81,6 +81,13 @@ kubectl exec vault-0 -n vault -- vault secrets enable -path=secret kv-v2 echo "Putting a secret in" kubectl exec vault-0 -n vaul...
4
4
0
[{"id": "G0", "claim": "Rewrite the challenge44.adoc intro lines for grammar and clarity, replacing them with the reviewer's suggested wording.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rewrite the challenge44_reason.adoc paragraphs for gramm...
null
OWASP__wrongsecrets__1189
OWASP/wrongsecrets
1,189
defect
7a31ff5633f38e83a89b405679ca5fbbf9bf059b
d88ae92e7a4d92c10d3ea67c2492abd37d18f481
New Challenge - Vault Template Injection
<!-- Thank you for submitting a pull request to the WrongSecrets app! See what makes a good PR at https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md--> ### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Some...
diff --git a/k8s/helm-vault-values.yml b/k8s/helm-vault-values.yml index 4b3c53bea2..2b696ecdb2 100644 --- a/k8s/helm-vault-values.yml +++ b/k8s/helm-vault-values.yml @@ -2,3 +2,6 @@ server: affinity: ha: enabled: true + +injector: + enabled: true diff --git a/k8s/secret-challenge-vault-deployment.yml b/k8s...
6
6
1
[{"id": "G0", "claim": "The challenge should use a new Vault entry (new secret key, template and path) instead of reusing the vaultpassword/secret-challenge entry that challenge7 already uses, and the new entry — including its Vault policy — should be added to scripts/install-vault.sh and k8s-vault-minkube-start.sh so ...
null
OWASP__wrongsecrets__1405
OWASP/wrongsecrets
1,405
defect
898cc3064d7bd123688ff3f6b724f12e62cbdf8d
f92092b92434a548215bcffe4e3f0327092558b3
#809 Vault sidecar challenge2
<!-- Thank you for submitting a pull request to the WrongSecrets app! See what makes a good PR at https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md--> ### What kind of changes does this PR include? - [x] Fixes or refactors : fixes missing annotations in docs for challenge46 - [x] A new chall...
diff --git a/README.md b/README.md index 80169f5f05..e66fac05a9 100644 --- a/README.md +++ b/README.md @@ -425,6 +425,8 @@ export SPRING_CLOUD_VAULT_URI='http://127.0.0.1:8200' export SPRING_CLOUD_VAULT_TOKEN='<TOKENHERE>' vault token create -id="00000000-0000-0000-0000-000000000000" -policy="root" vault kv put secr...
3
3
0
[{"id": "G0", "claim": "In the challenge47 explanation, the sentence should read 'So, he hardcoded the secrets \"temporarily\"' instead of 'So he hardcoded the secrets \"temporary\"'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the challenge...
null
OWASP__wrongsecrets__1452
OWASP/wrongsecrets
1,452
defect
5bff6c6ade6f96a3f73f4454ffb106dead7b168d
83d0b7a4b8b7ad4e66380525caa6bab836dd9e36
Sealed Secret in Kubernetes Challenge
### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Something else #### Relation Fixes part of https://github.com/OWASP/wrongsecrets/issues/858 #### Description Added new challenge Related to Bitnami Sealed Secrets...
diff --git a/README.md b/README.md index cbdb0e0476..73fa81f472 100644 --- a/README.md +++ b/README.md @@ -168,6 +168,8 @@ The K8S setup currently is based on using Minikube for local fun. You can use th kubectl apply -f k8s/secrets-secret.yml kubectl apply -f k8s/challenge33.yml kubectl apply -f k8s/sec...
8
7
6
[{"id": "G0", "claim": "The new challenge lacks the challenge texts and the challenge configuration required by the CONTRIBUTING how-to-add-a-challenge guide.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The SEALED_SECRET_ANSWER env-var must be ...
null
OWASP__wrongsecrets__1521
OWASP/wrongsecrets
1,521
defect
250b8df953b2e2e887575bc70d75c93d95a0953c
7d9c079895c74fd298ea6bfaa936fc8f32be1419
Update challenge48 to have both solutions in 1
<!-- Thank you for submitting a pull request to the WrongSecrets app! See what makes a good PR at https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md--> ### What kind of changes does this PR include? - [ ] Fixes or refactors - [ ] A new challenge - [x] Additional documentation: update chall...
diff --git a/README.md b/README.md index 38fc970dd8..3ff57c2440 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Welcome to the OWASP WrongSecrets game! The game is packed with real life examples of how to _not_ store secrets in your software. Each of these examples is captured in a challenge, which you need...
1
1
0
[{"id": "G0", "claim": "Replace the single 'Note: ... RBAC or ABAC' line in challenge48_reason.adoc with an expanded 'Food for thought on sealed secrets' section covering RBAC/ABAC exposure, auditing of hardcoded sealed secrets, sealing-key rotation, and offline attacks.", "category": "documentation", "verdict": "suppo...
null
OWASP__wrongsecrets__1651
OWASP/wrongsecrets
1,651
defect
8a500c8f6bec8fe93c5e6236be7b3cbe411da746
688856f5ddaf48d6dddd111a26ae442763d01c3f
feat: add challenge 49
<!-- Thank you for submitting a pull request to the WrongSecrets app! See what makes a good PR at https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md--> ### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Some...
diff --git a/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge49.java b/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge49.java new file mode 100644 index 0000000000..31ba064fe9 --- /dev/null +++ b/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge49.java @@ -0,0 +1,103 @@ +...
4
3
0
[{"id": "G0", "claim": "Cryptographic algorithm MD5 is weak and should not be used in Challenge49.", "category": "security", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The @Order(49) annotation on Challenge49 is no longer required and should be removed.", "category": "maint...
null
OWASP__wrongsecrets__1654
OWASP/wrongsecrets
1,654
defect
f59dce2a52ca6c1bc655bc6c2ecf96f5aa9de3b2
e55e5607926eaad236fe040cbf4ff212bfbe2ca9
Challenge50: dotnet
<!-- Thank you for submitting a pull request to the WrongSecrets app! See what makes a good PR at https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md--> ### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Some...
diff --git a/.github/scripts/docker-create.sh b/.github/scripts/docker-create.sh index 554a916854..fb12bd99c9 100755 --- a/.github/scripts/docker-create.sh +++ b/.github/scripts/docker-create.sh @@ -298,6 +298,17 @@ generate_test_data() { fi } +download_dot_net_binaries() { + echo "downloading dotnet binaries" +...
1
1
0
[{"id": "G0", "claim": "The dotnet binary version 0.1.0 is hardcoded in every curl download URL and should instead be maintained as a single variable/parameter, set at the top of the script.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OWASP__wrongsecrets__1790
OWASP/wrongsecrets
1,790
defect
496a9b7855c8f37a2b0fe9923c65bb32c85b14ea
024973ad7d3bf4896ef9d3788bd9529052ceb44a
Challenge52: Add misconfiguration for mounting in secret in during build
### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Something else #### To Do - [x] Embed the secret variable in https://github.com/OWASP/wrongsecrets/blob/master/.github/scripts/docker-create.sh and make sure it lands i...
diff --git a/.github/scripts/docker-create.sh b/.github/scripts/docker-create.sh index dd0e27e555..3e69b84e6a 100755 --- a/.github/scripts/docker-create.sh +++ b/.github/scripts/docker-create.sh @@ -352,34 +352,35 @@ build_update_pom() { create_containers() { echo "Creating containers" + export SECRET_VALUE=...
3
3
1
[{"id": "G0", "claim": "The env_var is not properly injected into the container for some reason; the Dockerfile should be checked and fixed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The hint should show two different solution paths: showing th...
null
OWASP__wrongsecrets__2203
OWASP/wrongsecrets
2,203
defect
bf9f250800a476ef68a7cb2cda065ff087120bc9
458f41c30abaefb697a651785574483ab3ee502e
Implement Challenge 59: Slack Webhook URL Vulnerability with Java 23 Support and Docker Build Configuration
This PR implements Challenge 59, a new security challenge that demonstrates the vulnerability of hardcoded Slack webhook URLs stored in environment variables with inadequate obfuscation. ## Challenge Overview Challenge 59 simulates a scenario where: - A Slack webhook URL is stored in an environment variable `CHALLENG...
diff --git a/pom.xml b/pom.xml index a11c5886fc..0687b23690 100644 --- a/pom.xml +++ b/pom.xml @@ -57,13 +57,13 @@ <gcp.sdk.version>7.2.0</gcp.sdk.version> <github.button.version>2.14.1</github.button.version> <io.netty.version>4.1.118.Final</io.netty.version> - <java.version>23</java.version> + <j...
3
3
3
[{"id": "G0", "claim": "The CI job linked from the failed run is failing and should be fixed so the pull request builds again.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The project uses Java 23, so the pom.xml and all classes should be updated ...
null
OWASP__wrongsecrets__2225
OWASP/wrongsecrets
2,225
defect
2a7075ca64e8fe523e2737f721bd4eef6e8218be
cec59a29f15a60c8c12171e61b91c4d74546ab93
Add user agent to Slack notifications and Cypress configuration, fix GitHub Actions Java distribution
- [x] Add user agent to Slack notification messages - [x] Update Cypress configuration with identifiable user agent strings - [x] Fix GitHub Actions Java distribution from oracle to temurin - [x] Remove unused private method causing SpotBugs error - [x] Fix code formatting issues identified by pre-commit hooks - [ ] ...
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6ba20ee1c9..0010a8596a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -69,7 +69,7 @@ jobs: uses: actions/setup-java@v5 with: java-version: "23"...
3
3
2
[{"id": "G0", "claim": "The GitHub Actions failures on this pull request should be fixed.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "pre_existing"}, {"id": "G1", "claim": "Instead of forwarding the raw user agent as an HTTP header, add the user agent string to the Slack challenge m...
null
OWASP__wrongsecrets__2492
OWASP/wrongsecrets
2,492
defect
5a0015c7ec8e7dc894096835f93ff16e2ad50c83
91e3d4e10eb946f60ffba436927cc2962dee526c
feat(challenge): add Challenge 63 hardcoded AES encryption key
### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Something else #### Description Adds Challenge 63 demonstrating bad encryption practices — hardcoding an AES encryption key and IV directly in source code alongside the cipherte...
diff --git a/src/main/java/org/owasp/wrongsecrets/challenges/docker/challenge63/Challenge63.java b/src/main/java/org/owasp/wrongsecrets/challenges/docker/challenge63/Challenge63.java new file mode 100644 index 0000000000..2fdafa8856 --- /dev/null +++ b/src/main/java/org/owasp/wrongsecrets/challenges/docker/challenge63/...
9
7
1
[{"id": "G0", "claim": "The challenge's use of AES/CBC/PKCS5Padding is an insecure cryptographic algorithm vulnerable to padding oracle attacks; the CodeQL scan asks that GCM be considered instead.", "category": "security", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Spo...
null
OWASP__wrongsecrets__2506
OWASP/wrongsecrets
2,506
defect
5183255e254a10b26c376052b0d0ef25dcaee228
73d3db18e42fdfd92a356bf1417db0bd3b199141
Harden global security headers and add regression coverage for filter behavior
This PR addresses remaining security/quality gaps in the global response-header filter by tightening overly permissive defaults and making filter behavior safer/clearer across servlet response types. - **Security header hardening** - Kept the custom `Server` header injection (`WrongSecrets - Star us!`) intentionally...
diff --git a/src/main/java/org/owasp/wrongsecrets/SecurityHeaderAddingFilter.java b/src/main/java/org/owasp/wrongsecrets/SecurityHeaderAddingFilter.java index 8e2e19b834..eef216fae2 100644 --- a/src/main/java/org/owasp/wrongsecrets/SecurityHeaderAddingFilter.java +++ b/src/main/java/org/owasp/wrongsecrets/SecurityHeade...
1
1
1
[{"id": "G0", "claim": "The pull request should keep the custom 'Server: WrongSecrets - Star us!' header while suppressing linter warnings about it, instead of dropping the header.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OWASP__wrongsecrets__2512
OWASP/wrongsecrets
2,512
defect
eb6ab170b30e7f1b382c404cabec10d76c6429a9
3c16056b65d964882320ac6b1b679ab5286e9403
Fix security & quality issues from GitHub security dashboard
Ten CodeQL/quality alerts in the GitHub security dashboard — spanning weak cryptography in framework code, SSRF, wrong imports, and false-positive intentional vulnerabilities in challenge code. ## Framework security fixes - **Weak HMAC in CTF code generation** (`ChallengesController`): `HmacSHA1` is intentional for C...
diff --git a/src/main/java/org/owasp/wrongsecrets/challenges/ChallengesController.java b/src/main/java/org/owasp/wrongsecrets/challenges/ChallengesController.java index e3bd7f49e8..955da622f5 100644 --- a/src/main/java/org/owasp/wrongsecrets/challenges/ChallengesController.java +++ b/src/main/java/org/owasp/wrongsecret...
2
2
2
[{"id": "G0", "claim": "The HmacSHA1-to-HmacSHA256 upgrade in generateCode should be reverted and the CodeQL finding suppressed with a comment instead, because the weak algorithm is intentional for educational purposes.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1...
null
OWASP__wrongsecrets__690
OWASP/wrongsecrets
690
defect
44e0e90ff0386e768ea89638ef670daab6e8a727
f53b8dc5f384f2cc90b9b14977899913a7d2f734
Adding Challenge 28
<!-- Thank you for submitting a pull request to the WrongSecrets app! See what makes a good PR at https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md--> ### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Some...
diff --git a/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge28.java b/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge28.java new file mode 100644 index 0000000000..4abd26dedd --- /dev/null +++ b/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge28.java @@ -0,0 +1,62 @@ +p...
4
4
1
[{"id": "G0", "claim": "The challenge's secret should not sit in the source as plaintext; it should be obfuscated (Base64-decoded at runtime in the challenge, hex-decoded in the test) instead.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The field Se...
null
OWASP__wrongsecrets__804
OWASP/wrongsecrets
804
defect
7b759856952cf29ec535d12952b4bfbd99e89ce4
b81c7b634bee38d4dabe68b91156c830e44fe898
feat(#647): initial scoring and highlighting
<!-- Thank you for submitting a pull request to the WrongSecrets app! See what makes a good PR at https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md--> ### What kind of changes does this PR include? - [ ] Fixes or refactors - [ ] A new challenge - [ ] Additional documentation - [x] Some...
diff --git a/.github/scripts/secondkey.txt b/.github/scripts/secondkey.txt new file mode 100644 index 0000000000..a3d3bd6da5 --- /dev/null +++ b/.github/scripts/secondkey.txt @@ -0,0 +1 @@ +GsJy3Ko=9Aplb6tUA=2hYby7 diff --git a/.github/scripts/thirdkey.txt b/.github/scripts/thirdkey.txt new file mode 100644 index 00000...
3
3
2
[{"id": "G0", "claim": "The success-alert assertion could be removed from the new visual-cue test, since if it fails at that point it may be a little unclear why.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The challenge table rows could be labeled l...
null