fix: Use a CappedMemoryCache for UserConfig to avoid memory exhaustion #82049
static-code-analysis.yml
on: pull_request
changes
11s
static-code-analysis
2m 24s
static-code-analysis-security
6m 51s
static-code-analysis-ocp
1m 15s
static-code-analysis-ncu
45s
static-code-analysis-strict
1m 15s
static-code-analysis-summary
7s
Annotations
13 errors
|
static-code-analysis
Process completed with exit code 2.
|
|
InvalidArgument:
lib/private/Config/UserConfig.php#L1853
lib/private/Config/UserConfig.php:1853:67: InvalidArgument: Argument 2 of OCP\Cache\CappedMemoryCache::offsetSet expects array<string, array<string, OC\Config\UserConfigEntry>>, but OC\Config\UserConfigEntry provided (see https://psalm.dev/004)
|
|
InvalidArgument:
lib/private/Config/UserConfig.php#L1851
lib/private/Config/UserConfig.php:1851:67: InvalidArgument: Argument 2 of OCP\Cache\CappedMemoryCache::offsetSet expects array<string, array<string, OC\Config\UserConfigEntry>>, but OC\Config\UserConfigEntry provided (see https://psalm.dev/004)
|
|
InvalidArgument:
lib/private/Config/UserConfig.php#L1294
lib/private/Config/UserConfig.php:1294:44: InvalidArgument: Argument 2 of OCP\Cache\CappedMemoryCache::offsetSet expects array<string, array<string, OC\Config\UserConfigEntry>>, but OC\Config\UserConfigEntry provided (see https://psalm.dev/004)
|
|
InvalidArgument:
lib/private/Config/UserConfig.php#L1292
lib/private/Config/UserConfig.php:1292:44: InvalidArgument: Argument 2 of OCP\Cache\CappedMemoryCache::offsetSet expects array<string, array<string, OC\Config\UserConfigEntry>>, but OC\Config\UserConfigEntry provided (see https://psalm.dev/004)
|
|
TaintedCallable:
lib/private/ServerContainer.php#L90
lib/private/ServerContainer.php:90:17: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
|
|
TaintedHtml:
lib/private/Mail/Mailer.php#L235
lib/private/Mail/Mailer.php:235:72: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
|
|
TaintedHtml:
lib/private/Mail/Mailer.php#L215
lib/private/Mail/Mailer.php:215:83: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
|
|
TaintedCallable:
lib/private/AppFramework/Utility/SimpleContainer.php#L131
lib/private/AppFramework/Utility/SimpleContainer.php:131:33: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
|
|
TaintedCallable:
apps/workflowengine/lib/Manager.php#L687
apps/workflowengine/lib/Manager.php:687:39: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
|
|
TaintedCallable:
apps/workflowengine/lib/Manager.php#L654
apps/workflowengine/lib/Manager.php:654:38: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
|
|
TaintedCallable:
apps/workflowengine/lib/Manager.php#L612
apps/workflowengine/lib/Manager.php:612:38: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
|
|
static-code-analysis-summary
Process completed with exit code 1.
|