diff options
| author | Kyrylo Yatsenko <hedrok@gmail.com> | 2026-05-13 23:09:12 +0300 |
|---|---|---|
| committer | Kyrylo Yatsenko <hedrok@gmail.com> | 2026-09-07 22:45:19 +0300 |
| commit | 3f1bf0ccf3615ce0241062ac56c6a06684b16dba (patch) | |
| tree | 23e5678849176bca3e1f82cfa76de5b0e4c92fea /debian/source/format | |
| parent | 75a3d7ae223545fae345f354fdaa98ebb73babf6 (diff) | |
| download | libnss-mapuser-3f1bf0ccf3615ce0241062ac56c6a06684b16dba.tar.gz libnss-mapuser-3f1bf0ccf3615ce0241062ac56c6a06684b16dba.zip | |
T8867: Fix vulnerability in pwcopy
1. Fix code that calculates `needlen` - wrong assumption about ?:
priority.
2. Add UPDATE_BUF_LEN_AND_CHECK macro that updates len and buf and
checks whether there is still free place in buffer. This adds
robustness to code as obviously `needlen` was already forgotten to be
updated.
Diffstat (limited to 'debian/source/format')
0 files changed, 0 insertions, 0 deletions
