Ver Fonte

Fix a segfault in Acl package.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10543 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Krejzi há 11 anos atrás
pai
commit
5af3f9e783
3 ficheiros alterados com 19 adições e 2 exclusões
  1. 10 0
      chapter01/changelog.xml
  2. 7 0
      chapter06/acl.xml
  3. 2 2
      general.ent

+ 10 - 0
chapter01/changelog.xml

@@ -35,6 +35,16 @@
       </itemizedlist>
     </listitem>
 -->
+    <listitem>
+      <para>2014-03-22</para>
+      <itemizedlist>
+        <listitem>
+          <para>[krejzi] - Fix a segfault in Acl package. Fixes
+          <ulink url="&lfs-ticket-root;3549">#3549</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2014-03-21</para>
       <itemizedlist>

+ 7 - 0
chapter06/acl.xml

@@ -51,6 +51,13 @@
 
 <screen><userinput remap="pre">sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test</userinput></screen>
 
+    <para>Additionally, fix a bug that causes <command>getfacl -e</command>
+    to segfault on overly long group name:</para>
+
+<screen><userinput remap="pre">sed -i -e "s|: TABS-1;|&amp;\n\n\t\t\tif (x > (TABS-1))\n\t\t\t\tx = (TABS-1);\n|" \
+                                   libacl/__acl_to_any_text.c</userinput></screen>
+     
+
     <para>Prepare Acl for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr \

+ 2 - 2
general.ent

@@ -1,5 +1,5 @@
-<!ENTITY version         "SVN-20140421">
-<!ENTITY releasedate     "April 21, 2014">
+<!ENTITY version         "SVN-20140422">
+<!ENTITY releasedate     "April 22, 2014">
 <!ENTITY copyrightdate   "1999-2014"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone       "8.0">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->