Module Name: src
Committed By: christos
Date: Wed Nov 27 18:25:13 UTC 2013
Modified Files:
src/external/bsd/nvi/dist/ipc: ip.h
Log Message:
CID 1132786: Out of bounds write (account for padding)
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/nvi/dist/ipc/ip.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/nvi/dist/ipc/ip.h
diff -u src/external/bsd/nvi/dist/ipc/ip.h:1.2 src/external/bsd/nvi/dist/ipc/ip.h:1.3
--- src/external/bsd/nvi/dist/ipc/ip.h:1.2 Fri Nov 22 10:52:05 2013
+++ src/external/bsd/nvi/dist/ipc/ip.h Wed Nov 27 13:25:13 2013
@@ -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;