diff options
author | Waldemar Brodkorb <wbrodkorb@conet.de> | 2018-12-14 10:53:22 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbrodkorb@conet.de> | 2018-12-14 10:53:22 +0100 |
commit | 365d19dfec4437b7a8227f594953a54c76863278 (patch) | |
tree | c504d9ba1694c91b6838e825330d49f528c2f6cf /libc/stdlib/wcstoul.c | |
parent | 51e75b39838427f5eb66b0038672b2ca8ced8e93 (diff) |
fix issues in ethers.c
Old version manages strings the regular way (i.e. counting on zero-ended
sequences). In fact strings captured from the /etc/ethers file are
'\n'-ended. So, for example, using strchr function could lead to buffer
overflow.
Reported-by: "Andrey V. Zhmurin" <zhmurin_a@mcst.ru
Diffstat (limited to 'libc/stdlib/wcstoul.c')
0 files changed, 0 insertions, 0 deletions