Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2017 18:17:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 216127] sbin/restore doesn't honour extended attributes (extattr on ufs)
Message-ID:  <bug-216127-6-leCrGIdDOQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216127-6@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216127-6@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216127

--- Comment #9 from commit-hook@freebsd.org ---
A commit references this bug:

Author: cem
Date: Wed Jan 18 18:16:58 UTC 2017
New revision: 312393
URL: https://svnweb.freebsd.org/changeset/base/312393

Log:
  restore(8): Handle extended attribute names correctly

  UFS2 extended attribute names are not NUL-terminated.  Handle
  appropriately.

  Correct the EXTATTR_BASE_LENGTH() macro, which handled ea_namelength =3D=
=3D
  one (mod eight) extended attributes incorrectly.

  PR:           216127
  Reported by:  dewayne at heuristicsystems.com.au
  Reviewed by:  kib@
  Sponsored by: Dell EMC Isilon
  Differential Revision:        https://reviews.freebsd.org/D9208

Changes:
  head/sbin/restore/dirs.c
  head/sbin/restore/extern.h
  head/sbin/restore/tape.c
  head/sys/sys/extattr.h
  head/sys/ufs/ufs/extattr.h

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216127-6-leCrGIdDOQ>