Skip to content

Conversation

@chgnrdv
Copy link
Contributor

@chgnrdv chgnrdv commented Mar 21, 2023

* made `fill_time` function return 0 on error and 1 on success
* added NULL check of value returned by `_pystat_l128_from_l64_l64` call in `_pystat_fromstructstat`
* added checks verifying that calls to `fill_time` didn't fail in `_pystat_fromstructstat`
* removed reference to non-existent `posix_fstat` function
* added test
@chgnrdv chgnrdv marked this pull request as ready for review March 21, 2023 23:02
Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

Please, also add a NEWS entry.

@chgnrdv

This comment was marked as outdated.

@arhadthedev arhadthedev added the extension-modules C modules in the Modules dir label Mar 22, 2023
@chgnrdv chgnrdv requested a review from sobolevn March 22, 2023 11:08
@chgnrdv

This comment was marked as outdated.

@chgnrdv chgnrdv marked this pull request as draft March 22, 2023 13:14
@chgnrdv chgnrdv marked this pull request as ready for review March 22, 2023 14:38
@chgnrdv

This comment was marked as outdated.

@chgnrdv
Copy link
Contributor Author

chgnrdv commented Jun 2, 2023

@sobolevn, could you review this PR again?

@chgnrdv
Copy link
Contributor Author

chgnrdv commented Sep 20, 2023

I close this in favor of #109618.

@chgnrdv chgnrdv closed this Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review extension-modules C modules in the Modules dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lack of error handling in posix.stat implementation leads to crash on interrupt

4 participants