mirror of https://github.com/postgres/postgres
is asked to assign a variable to itself, it will result in doing a memcpy() on an entirely-overlapping memory range, which results in undefined behavior according to ANSI C. That said, it is unlikely to actually do anything bad on any sane libc, but this keeps valgrind quiet.REL8_0_STABLE
parent
d3917186b2
commit
e66fcce672
Loading…
Reference in new issue