mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update announce.php
This commit is contained in:
parent
a4196e1356
commit
cf339321d3
@ -102,6 +102,10 @@ if (!verify_id($passkey, BT_AUTH_KEY_LENGTH))
|
|||||||
{
|
{
|
||||||
msg_die('Invalid passkey: ' . $passkey);
|
msg_die('Invalid passkey: ' . $passkey);
|
||||||
}
|
}
|
||||||
|
if (max($uploaded, $downloaded, $left) >= (2**64 - 1)) // BIGINT
|
||||||
|
{
|
||||||
|
msg_die('Integer overflow');
|
||||||
|
}
|
||||||
|
|
||||||
// Check for client ban
|
// Check for client ban
|
||||||
if ($bb_cfg['client_ban']['enabled'])
|
if ($bb_cfg['client_ban']['enabled'])
|
||||||
|
Loading…
Reference in New Issue
Block a user