Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array offset error due to empty file versions array #20449

Merged
merged 1 commit into from
Apr 18, 2020

Conversation

liamjack
Copy link
Contributor

Fixes issue #19066 implementing fix proposed by @kesselb (#19066 (comment))

…rray

Signed-off-by: Liam JACK <liamjack@users.noreply.github.com>
@kesselb
Copy link
Contributor

kesselb commented Apr 12, 2020

Thanks for your time 👍

I'm still not sure if having no version is a valid state but the fix will prevent the error :)

@kesselb kesselb added this to the Nextcloud 19 milestone Apr 12, 2020
This was referenced Apr 13, 2020
@MorrisJobke MorrisJobke changed the title Fix #19066 - Array offset error due to empty file versions array Array offset error due to empty file versions array Apr 17, 2020
Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

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

Nice hardening lets do that

@ChristophWurst ChristophWurst added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Apr 17, 2020
@rullzer rullzer merged commit 64196dd into nextcloud:master Apr 18, 2020
@liamjack liamjack deleted the fix/19066/empty_file_versions branch April 18, 2020 09:08
@MorrisJobke
Copy link
Member

/backport to stable18

@MorrisJobke
Copy link
Member

/backport to stable17

@backportbot-nextcloud
Copy link

backport to stable18 in #20578 with conflicts ⚠️

@backportbot-nextcloud
Copy link

backport to stable17 in #20579 with conflicts ⚠️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants