{"action":"created","issue":{"url":"https://api.github.com/repos/altocms/altocms/issues/681","labels_url":"https://api.github.com/repos/altocms/altocms/issues/681/labels{/name}","comments_url":"https://api.github.com/repos/altocms/altocms/issues/681/comments","events_url":"https://api.github.com/repos/altocms/altocms/issues/681/events","html_url":"https://github.com/altocms/altocms/pull/681","id":101897560,"number":681,"title":"Fix: Из-за приведения к целому, при передаче значения размера от 2048…","user":{"login":"shtrih","id":544063,"avatar_url":"https://avatars.githubusercontent.com/u/544063?v=3","gravatar_id":"","url":"https://api.github.com/users/shtrih","html_url":"https://github.com/shtrih","followers_url":"https://api.github.com/users/shtrih/followers","following_url":"https://api.github.com/users/shtrih/following{/other_user}","gists_url":"https://api.github.com/users/shtrih/gists{/gist_id}","starred_url":"https://api.github.com/users/shtrih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shtrih/subscriptions","organizations_url":"https://api.github.com/users/shtrih/orgs","repos_url":"https://api.github.com/users/shtrih/repos","events_url":"https://api.github.com/users/shtrih/events{/privacy}","received_events_url":"https://api.github.com/users/shtrih/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T13:44:33Z","updated_at":"2015-08-19T16:32:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/altocms/altocms/pulls/681","html_url":"https://github.com/altocms/altocms/pull/681","diff_url":"https://github.com/altocms/altocms/pull/681.diff","patch_url":"https://github.com/altocms/altocms/pull/681.patch"},"body":"…Mb (на 32-разрядном пхп), происходит переполнение типа int и функции возвращают неправильный результат.\r\nДо фикса: http://codepad.org/8fY1wkBf, после: http://codepad.org/KxHeHLwx"},"comment":{"url":"https://api.github.com/repos/altocms/altocms/issues/comments/132686114","html_url":"https://github.com/altocms/altocms/pull/681#issuecomment-132686114","issue_url":"https://api.github.com/repos/altocms/altocms/issues/681","id":132686114,"user":{"login":"shtrih","id":544063,"avatar_url":"https://avatars.githubusercontent.com/u/544063?v=3","gravatar_id":"","url":"https://api.github.com/users/shtrih","html_url":"https://github.com/shtrih","followers_url":"https://api.github.com/users/shtrih/followers","following_url":"https://api.github.com/users/shtrih/following{/other_user}","gists_url":"https://api.github.com/users/shtrih/gists{/gist_id}","starred_url":"https://api.github.com/users/shtrih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shtrih/subscriptions","organizations_url":"https://api.github.com/users/shtrih/orgs","repos_url":"https://api.github.com/users/shtrih/repos","events_url":"https://api.github.com/users/shtrih/events{/privacy}","received_events_url":"https://api.github.com/users/shtrih/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T16:32:24Z","updated_at":"2015-08-19T16:32:24Z","body":"Хотя, с другой стороны, `filesize()` тоже возвращает неправильное значение для файлов больше 2Гб. Поэтому сравнение `if (filesize($sFile) > F::MemSize2Int($sMaxSize)) { /* error */ }` вообще никогда не выполнится для таких файлов."}}