Source-Changes-D archive

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

re: CVS commit: src/sys/compat/netbsd32

   Module Name: src
   Committed By:        njoly
   Date:                Thu Dec 10 14:58:28 UTC 2009
   Modified Files:
        src/sys/compat/netbsd32: netbsd32_ioctl.c
   Log Message:
   Make netbsd32_from_{ifreq,oifreq}() copy the whole structure, not only
   the interface name. Finally fix my own PR/39424.
   ok by christos.

this uses the size of the non-compat version to copy, which leads to
it copying beyond the allocated space doesn't it?  ie, it should be:

        memcpy(s32p, p, sizeof *s32p);

shouldn't it?


Home | Main Index | Thread Index | Old Index