Skip to content

Conversation

@artonge
Copy link
Contributor

@artonge artonge commented Sep 5, 2025

Local copy of #53952 for CI
Closes #53469

…ownload

Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: invario <67800603+invario@users.noreply.github.com>
@artonge artonge requested a review from a team as a code owner September 5, 2025 08:09
@artonge artonge requested review from ArtificialOwl, salmart-dev and sorbaugh and removed request for a team September 5, 2025 08:09
@provokateurin provokateurin added this to the Nextcloud 33 milestone Sep 5, 2025
@artonge artonge closed this Sep 5, 2025
auto-merge was automatically disabled September 5, 2025 08:18

Pull request was closed

@artonge artonge reopened this Sep 5, 2025
@artonge artonge closed this pull request by merging all changes into master in 05b4403 Sep 5, 2025
@artonge artonge deleted the pr/invario/53952 branch September 5, 2025 09:05
// 1 = read an additional 8 bytes after the label to get the 64 bit
// size of the atom. Needed for large atoms like 'mdat' (the video data)
if ($atomSize === 1) {
$atomSize = (int)hexdec(bin2hex(stream_get_contents($content, 8, (int)($offset + 8))));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just adding it here also after discussion in #53952 possible infinite loop if damaged/maliciously formatted file: the 8 bytes evaluates to 0, making $offset += $atomSize not stepping.

@skjnldsv skjnldsv modified the milestones: Nextcloud 33, Nextcloud 32 Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Movie preview not generated on remote storages if file > 5MiB

6 participants