Skip to content

Conversation

@solracsf
Copy link
Member

@solracsf solracsf commented Dec 16, 2025

Summary

Added explicit check for inet_pton() returning false before bitwise operations to prevent potential issues with invalid IPs + small optimizations.

Checklist

@solracsf solracsf added this to the Nextcloud 33 milestone Dec 16, 2025
@solracsf solracsf requested a review from a team as a code owner December 16, 2025 14:01
@solracsf solracsf added bug 3. to review Waiting for reviews labels Dec 16, 2025
@solracsf solracsf requested review from Altahrim, CarlSchwan, icewind1991 and salmart-dev and removed request for a team December 16, 2025 14:01
@solracsf solracsf force-pushed the addCheckBeforeBitwise branch from 5dbb7a2 to b9d55ba Compare December 16, 2025 14:06
@susnux susnux merged commit cc23025 into master Dec 17, 2025
199 of 201 checks passed
@susnux susnux deleted the addCheckBeforeBitwise branch December 17, 2025 15:28
@susnux
Copy link
Contributor

susnux commented Dec 17, 2025

/backport to stable32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: PHP warning: Unsupported operand types: bool & string

4 participants