Source-Changes archive

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

CVS commit: [netbsd-9] src/sys/dev/scsipi



Module Name:    src
Committed By:   martin
Date:           Mon Aug 29 16:18:10 UTC 2022

Modified Files:
        src/sys/dev/scsipi [netbsd-9]: sd.c sdvar.h

Log Message:
Pull up following revision(s) (requested by mlelstv in ticket #1509):

        sys/dev/scsipi/sdvar.h: revision 1.40
        sys/dev/scsipi/sd.c: revision 1.335

Don't fetch data beyond end of inquiry buffer, which, here, is not
NUL-terminated.

Reduce target buffer to needed size (product name + NUL terminator).


To generate a diff of this commit:
cvs rdiff -u -r1.327.4.2 -r1.327.4.3 src/sys/dev/scsipi/sd.c
cvs rdiff -u -r1.39 -r1.39.4.1 src/sys/dev/scsipi/sdvar.h

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