summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/xmalloc.h
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2015-11-12 15:07:41 +0000
committerkrw <krw@openbsd.org>2015-11-12 15:07:41 +0000
commit72070960b809a8c0e77907ab82f1e22c27fc3fdf (patch)
tree6b96a2059e12642fbc8c8e371a4022dd04655a7e /usr.bin/diff/xmalloc.h
parentgrid_put_utf8 is unused, remove it. (diff)
downloadwireguard-openbsd-72070960b809a8c0e77907ab82f1e22c27fc3fdf.tar.xz
wireguard-openbsd-72070960b809a8c0e77907ab82f1e22c27fc3fdf.zip
Avoid problems with pathological input during edit operations. i.e. never
attempt to use data past the end of the input. Since the return value of ask_cmd() is never checked, make it void instead of int. Problems found, original diff from and ok tim@.
Diffstat (limited to 'usr.bin/diff/xmalloc.h')
0 files changed, 0 insertions, 0 deletions