diff options
author | Nickolai Zeldovich <nickolai@csail.mit.edu> | 2013-01-07 15:38:39 -0500 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-01-08 10:00:26 +0100 |
commit | 7682e8580722f951559f372ba3d2b6170fdbe734 (patch) | |
tree | 204b296a188a9ab4caedb029191b3e5904f52eff /.gitignore | |
parent | 8e4a424b305e29dc0e454f52df3b35577f342975 (diff) |
readline: avoid memcpy() of overlapping regions
memcpy() for overlapping regions is undefined behavior; use memmove()
instead in readline_hist_add().
[Keep tab characters since surrounding code still uses them -- Stefan]
Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions