Page MenuHomePhorge

D25770.1736838127.diff
No OneTemporary

D25770.1736838127.diff

diff --git a/src/phage/bootloader/PhagePHPAgentBootloader.php b/src/phage/bootloader/PhagePHPAgentBootloader.php
--- a/src/phage/bootloader/PhagePHPAgentBootloader.php
+++ b/src/phage/bootloader/PhagePHPAgentBootloader.php
@@ -89,7 +89,7 @@
$boot_length = strlen($boot_sequence->toString());
$boot_sequence->addText($main_sequence->toString());
- if (strlen($boot_length) > 8192) {
+ if ($boot_length > 8192) {
throw new Exception(pht('Stage 1 bootloader is too large!'));
}

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 14, 07:02 (6 d, 19 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113917
Default Alt Text
D25770.1736838127.diff (520 B)

Event Timeline