Re: [PATCH] Reject target names with invalid characters
FUJITA Tomonori <[email protected]> Thu, 04 Aug 2016 21:57:33 +0900 (JST)
| Newsgroups | org.kernel.vger.stgt |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 4 Aug 2016 13:19:12 +0300 Roi Dayan <[email protected]> wrote: > Reject target names that do not consist on chars described in > RFC 7143 section 4.2.7 iSCSI Name Encoding. > > A user could create target names with invalid characters which could > break initiators. e.g. creating target with chars that are not allowed > in a file name and using Linux open-iscsi initiator which create folders > based the target names. > > Signed-off-by: Roi Dayan <[email protected]> > --- > usr/target.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Applied, thanks!