From 8a5a38b31c67845cab2dc88e04c438e511512e3e Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 27 Nov 2013 18:25:13 +0000 Subject: [PATCH] CID 1132786: Out of bounds write (account for padding) --- external/bsd/nvi/dist/ipc/ip.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external/bsd/nvi/dist/ipc/ip.h b/external/bsd/nvi/dist/ipc/ip.h index 287016ecd92d..30a7b8a51ae7 100644 --- a/external/bsd/nvi/dist/ipc/ip.h +++ b/external/bsd/nvi/dist/ipc/ip.h @@ -1,4 +1,4 @@ -/* $NetBSD: ip.h,v 1.2 2013/11/22 15:52:05 christos Exp $ */ +/* $NetBSD: ip.h,v 1.3 2013/11/27 18:25:13 christos Exp $ */ /*- * Copyright (c) 1996 * Keith Bostic. All rights reserved. @@ -13,7 +13,7 @@ typedef struct ipcmsghdr { struct cmsghdr header; - int __room_for_fd; + int __room_for_fd_with_pad[4]; } IPCMSGHDR; struct _ip_vi_win;