Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/nvi/dist/ipc CID 1132786: Out of bounds write (...



details:   https://anonhg.NetBSD.org/src/rev/50a2af7c22de
branches:  trunk
changeset: 791661:50a2af7c22de
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Nov 27 18:25:13 2013 +0000

description:
CID 1132786: Out of bounds write (account for padding)

diffstat:

 external/bsd/nvi/dist/ipc/ip.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 71f2ebc0c8c5 -r 50a2af7c22de external/bsd/nvi/dist/ipc/ip.h
--- a/external/bsd/nvi/dist/ipc/ip.h    Wed Nov 27 18:11:50 2013 +0000
+++ b/external/bsd/nvi/dist/ipc/ip.h    Wed Nov 27 18:25:13 2013 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index