From 50e0694d51f48ca6c142e2e2006802710d076798 Mon Sep 17 00:00:00 2001 From: Roland Mainz Date: Wed, 8 Dec 2004 06:16:20 +0000 Subject: =?UTF-8?q?//bugs.freedesktop.org/show=5Fbug.cgi=3Fid=3D1818)=20at?= =?UTF-8?q?tachment=20#1286=20=20=20=20=20(https://bugs.freedesktop.org/at?= =?UTF-8?q?tachment.cgi=3Fid=3D1286):=20Fixing=20=20=20=20=20off-by-one=20?= =?UTF-8?q?allocation=20error.=20Patch=20by=20Kristian=20H=F8gsberg=20=20?= =?UTF-8?q?=20=20=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xmodmap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xmodmap.h') diff --git a/xmodmap.h b/xmodmap.h index 0d2f779..d52ef5e 100644 --- a/xmodmap.h +++ b/xmodmap.h @@ -56,3 +56,5 @@ extern void PrintModifierMapping(XModifierKeymap *map, FILE *fp); extern void PrintKeyTable(Bool exprs, FILE *fp); extern void PrintPointerMap(FILE *fp); extern int SetPointerMap(unsigned char *map, int n); + +extern void *chk_malloc(size_t n_bytes); -- cgit v1.2.3