trifectatechfoundation / sudo-rs

A memory safe implementation of sudo and su.
Other
2.9k stars 79 forks source link

pam/securemem: handle null pointer case #757

Closed japaric closed 1 year ago

github-actions[bot] commented 1 year ago

Number of dependencies and binary size impact report

Metric main PR #757 Delta
Direct dependencies 3 3 -
Total dependencies 4 4 -
Binary size 1023.9 KiB 1023.9 KiB -
Text size 594.9 KiB 594.9 KiB -
Dependencies diff ```diff └─ sudo-rs [v0.2.0] ├─ glob [v0.3.1] ├─ libc [v0.2.147] └─ log [v0.4.20] ```
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 95.45% and project coverage change: +0.05% :tada:

Comparison is base (deffb82) 55.01% compared to head (cff697e) 55.06%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #757 +/- ## ========================================== + Coverage 55.01% 55.06% +0.05% ========================================== Files 71 71 Lines 9752 9761 +9 ========================================== + Hits 5365 5375 +10 + Misses 4387 4386 -1 ``` | [Files Changed](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/757?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety) | Coverage Δ | | |---|---|---| | [src/pam/securemem.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/757?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL3BhbS9zZWN1cmVtZW0ucnM=) | `98.59% <95.23%> (+0.20%)` | :arrow_up: | | [src/pam/converse.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/757?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL3BhbS9jb252ZXJzZS5ycw==) | `85.59% <100.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/757/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.