diff options
author | Valentin Bartenev <vbart@nginx.com> | 2020-05-20 11:18:03 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2020-05-20 11:18:03 +0300 |
commit | b2e6ef7bebff632fc64e10bdb03b5da02817d172 (patch) | |
tree | 6c22552bdb3eaf150587ebf0695514b4c2c461d5 /test/unit | |
parent | 140b81208e83569913aa81f964eb64e15940d897 (diff) | |
download | unit-b2e6ef7bebff632fc64e10bdb03b5da02817d172.tar.gz unit-b2e6ef7bebff632fc64e10bdb03b5da02817d172.tar.bz2 |
Static: fixed potential undefined behavior in memcpy().
According to the C standard, pointer arguments passed to memcpy() calls shall
still have valid values. NULL is considered as invalid.
Found with GCC Static Analyzer.
Diffstat (limited to 'test/unit')
0 files changed, 0 insertions, 0 deletions