Check if the offset exists before accessing
This checks if the offset exists before accessing it and also adds unit tests to this function which would have catched this before🙈 Fixes https://github.com/owncloud/core/issues/14277
Please register or sign in to comment