-
Notifications
You must be signed in to change notification settings - Fork 8k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: php/php-src
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: php-8.1.28
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: php/php-src
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: php-8.1.29
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 11 commits
- 20 files changed
- 5 contributors
Commits on Apr 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e3c784f - Browse repository at this point
Copy the full SHA e3c784fView commit details -
Fix GHSA-wpj3-hf5j-x4v4: __Host-/__Secure- cookie bypass due to partial
CVE-2022-31629 fix The check happened too early as later code paths may perform more mangling rules. Move the check downwards right before adding the actual variable.
Configuration menu - View commit details
-
Copy full SHA for 093c08a - Browse repository at this point
Copy the full SHA 093c08aView commit details -
Fix bug GHSA-q6x7-frmf-grcw: password_verify can erroneously return true
Disallow null character in bcrypt password
1Configuration menu - View commit details
-
Copy full SHA for 0ba5229 - Browse repository at this point
Copy the full SHA 0ba5229View commit details -
Configuration menu - View commit details
-
Copy full SHA for de4f7f9 - Browse repository at this point
Copy the full SHA de4f7f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca5fe40 - Browse repository at this point
Copy the full SHA ca5fe40View commit details
Commits on Apr 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 469ad32 - Browse repository at this point
Copy the full SHA 469ad32View commit details
Commits on Jun 5, 2024
-
Fix GHSA-9fcc-425m-g385: bypass CVE-2024-1874
The old code checked for suffixes but didn't take into account trailing whitespace. Furthermore, there is peculiar behaviour with trailing dots too. This all happens because of the special path-handling code inside CreateProcessW. By studying Wine's code, we can see that CreateProcessInternalW calls get_file_name [1] in our case because we haven't provided an application name. That code gets the first whitespace-delimited string into app_name excluding the quotes. It's then passed to create_process_params [2] where there is the path handling code that transforms the command line argument to an image path [3]. Inside Wine, the extension check if performed after these transformations [4]. By doing the same thing in PHP we match the behaviour and can properly match the extension even in the given edge cases. [1] https://github.com/wine-mirror/wine/blob/166895ae3ad3890ad946a309d0fd85e89ea3630e/dlls/kernelbase/process.c#L542-L543 [2] https://github.com/wine-mirror/wine/blob/166895ae3ad3890ad946a309d0fd85e89ea3630e/dlls/kernelbase/process.c#L565 [3] https://github.com/wine-mirror/wine/blob/166895ae3ad3890ad946a309d0fd85e89ea3630e/dlls/kernelbase/process.c#L150-L151 [4] https://github.com/wine-mirror/wine/blob/166895ae3ad3890ad946a309d0fd85e89ea3630e/dlls/kernelbase/process.c#L647-L654
Configuration menu - View commit details
-
Copy full SHA for c8b3640 - Browse repository at this point
Copy the full SHA c8b3640View commit details -
The original code is error-prone due to the "best fit mapping" that happens with the argument parsing but not with the query string. When we get a non-ASCII character, try to remap it and see if it becomes a hyphen. An alternative approach is to create a custom main `wmain` receiving wide-character variations that does the ANSI transformation with the best-fit mapping, but that's more error-prone and could cause unexpected breakage. Another alternative was just don't doing this check altogether and always check for `cgi || fastcgi` instead, but that breaks real-world use-cases.
Configuration menu - View commit details
-
Copy full SHA for 4dd9a36 - Browse repository at this point
Copy the full SHA 4dd9a36View commit details -
We should not early-out with success status if we found an ipv6 hostname, we should keep checking the rest of the conditions. Because integrating the if-check of the ipv6 hostname in the "Validate domain" if-check made the code hard to read, I extracted the condition out to a separate function. This also required to make a few pointers const in order to have some clean code.
Configuration menu - View commit details
-
Copy full SHA for 5c6d473 - Browse repository at this point
Copy the full SHA 5c6d473View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6150156 - Browse repository at this point
Copy the full SHA 6150156View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc4973f - Browse repository at this point
Copy the full SHA fc4973fView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff php-8.1.28...php-8.1.29