Source-Changes archive

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

CVS commit: syssrc/sys/kern



Module Name:    syssrc
Committed By:   jdolecek
Date:           Sat Sep 29 14:16:20 UTC 2001

Modified Files:
        syssrc/sys/kern: uipc_socket.c

Log Message:
Use lmin() instead of min(), and long for mlen & clen, to avoid integer
overflow on LP64 architectures. This fixes kern/10070 by Juergen Weiss.

Fix tested on NetBSD/alpha by Bernd Ernesti, on NetBSD/sparc64
by David Brownlee and Eduardo Horvath.


To generate a diff of this commit:
cvs rdiff -r1.57 -r1.58 syssrc/sys/kern/uipc_socket.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index