summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/memcpy.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-11-30 13:47:42 +0000
committermiod <miod@openbsd.org>2014-11-30 13:47:42 +0000
commit9345b20007647d596f6a485c3b3d0aec8b8b748d (patch)
tree2ec0afaaf0b67caf8108c0c2b5a44c1b35e8382c /lib/libc/string/memcpy.c
parentclear progress meter before asking questions (diff)
downloadwireguard-openbsd-9345b20007647d596f6a485c3b3d0aec8b8b748d.tar.xz
wireguard-openbsd-9345b20007647d596f6a485c3b3d0aec8b8b748d.zip
In mopFileRead(), make sure to never increment e_cursec beyond e_nsec, so
that the next call to this function will not access e_sections[] out of bounds. Repairs mopa.out(1) behaviour noticed by sebastia@
Diffstat (limited to 'lib/libc/string/memcpy.c')
0 files changed, 0 insertions, 0 deletions