Skip to content

How can I interview Stanislav Malyshev? #2

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

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

Razzwan
Copy link

@Razzwan Razzwan commented Aug 19, 2020

Please contact me in one of the suggested ways:
email: razvanlomov@gmail.com
telegram: https://t.me/Razzwan

cmb69 and others added 12 commits March 15, 2020 17:15
We make sure that negative values are properly compared.
To solve this, we properly calculate the required string length upfront
instead of allocating an oversized string (`len * 4 + 4`).
* PHP-7.2:
  Fix bug #79329 - get_headers should not accept \0
  Fixed bug #79282
* PHP-7.3:
  Fix bug #79329 - get_headers should not accept \0
  Fixed bug #79282
  Fix #79371: mb_strtolower (UTF-32LE): stack-buffer-overflow
We make sure that negative values are properly compared.
To solve this, we properly calculate the required string length upfront
instead of allocating an oversized string (`len * 4 + 4`).
* PHP-7.4:
  Fix test
  Fix bug #79329 - get_headers should not accept \0
  Fixed bug #79282
  Fix #79283: Segfault in libmagic patch contains a buffer overflow
  Fix #79371: mb_strtolower (UTF-32LE): stack-buffer-overflow
Please contact me in one of the suggested ways:
[email: razvanlomov@gmail.com](mailto:razvanlomov@gmail.com)
[telegram: https://t.me/Razzwan](https://t.me/Razzwan)
@smalyshev smalyshev force-pushed the master branch 3 times, most recently from bd63896 to e14f835 Compare September 29, 2020 05:56
@smalyshev smalyshev force-pushed the master branch 2 times, most recently from d0850ab to c6bfc0f Compare June 21, 2021 05:23
smalyshev pushed a commit that referenced this pull request Aug 24, 2021
When encountering the following SSA graph:

    BB1:
    #2.T1 [string] = COALESCE #1.CV0($str) [null, string] BB2

    BB2:
    php#5.T1 [string] = QM_ASSIGN string("")

    BB3:
    php#7.X1 [string] = Phi(#2.X1 [string], php#5.X1 [string])
    FREE php#7.T1 [string]

We would currently determine that php#7, php#5 are dead, and eliminate
the FREE and QM_ASSIGN. However, we cannot eliminate #2, as
COALESCE is also responsible for control flow.

Fix this my marking all non-CV phis as live to start with. This
can be relaxed to check the kind of the source instruction, but
I couldn't immediately come up with a case where it would be
useful.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants