aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/global_command.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-04 19:33:55 +0900
committernsfisis <nsfisis@gmail.com>2026-07-04 19:33:55 +0900
commit3ff81cbade26a5de4e67076854e59b16a270140b (patch)
tree51f0bc2e9f1e37271d4c9deb6be36c35bd39cb2e /crates/shirabe/src/command/global_command.rs
parentdea563685a1da4770c38e1878118636ee7b9b253 (diff)
downloadphp-shirabe-3ff81cbade26a5de4e67076854e59b16a270140b.tar.gz
php-shirabe-3ff81cbade26a5de4e67076854e59b16a270140b.tar.zst
php-shirabe-3ff81cbade26a5de4e67076854e59b16a270140b.zip
fix(platform-repository): avoid infinite recursion in addOverriddenPackage
PHP's addOverriddenPackage calls parent::addPackage() (a non-virtual call straight to ArrayRepository), but the port called self.add_package, re-entering PlatformRepository::add_package. Since the newly created override package's name also starts with "php-", this recursed forever and blew the stack.
Diffstat (limited to 'crates/shirabe/src/command/global_command.rs')
0 files changed, 0 insertions, 0 deletions