[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/38413 CVS commit: [netbsd-5] src/lib/librmt
The following reply was made to PR bin/38413; it has been noted by GNATS.
From: "Manuel Bouyer" <bouyer%netbsd.org@localhost>
Subject: PR/38413 CVS commit: [netbsd-5] src/lib/librmt
Date: Sat, 17 Sep 2011 18:50:46 +0000
Module Name: src
Committed By: bouyer
Date: Sat Sep 17 18:50:46 UTC 2011
src/lib/librmt [netbsd-5]: rmtlib.c
Pull up following revision(s) (requested by dholland in ticket #1660):
lib/librmt/rmtlib.c: revisions 1.23, 1.24
Improve isrmt() check: it cannot be a rmt fd if there are no pipes
open for the fd. Prevents collision with rumphijack.
Also, prevent potential hyperspace memory access.
Does someone want to write tests for this facility?
PR/38413: Takahiro Kambe: mt(1) print some junk output when using remote tape
Not all fields are valid in the ioctl to get tape info in the rmt protocol.
Zero out the struct so that we don't print junk.
While here, KNF.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r22.214.171.124 src/lib/librmt/rmtlib.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |