Source-Changes archive

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

CVS commit: src/sys/dev/vinum



Module Name:    src
Committed By:   jdolecek
Date:           Fri Sep 17 19:21:03 UTC 2004

Modified Files:
        src/sys/dev/vinum: vinumioctl.c

Log Message:
vinum_super_ioctl(): refuse unknown ioctls, rather than pretending
success; this fixes panic caused by null pointer dereference in
spec_open() after DIOCGPART ioctl call and PR bin/26981 by Simon Hitzemann

while here, also remove not reachable return statements, and also
return EINVAL for ioctl to unknown DEVTYPE()s

XXX vinum code is !@#$%^


To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 src/sys/dev/vinum/vinumioctl.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