[Top][All Lists]

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

[bug #39162] -printf option reads beyond arguments terminated by \

From: anonymous
Subject: [bug #39162] -printf option reads beyond arguments terminated by \
Date: Tue, 04 Jun 2013 15:23:29 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:21.0) Gecko/20100101 Firefox/21.0


                 Summary: -printf option reads beyond arguments terminated by
                 Project: findutils
            Submitted by: None
            Submitted on: Tue 04 Jun 2013 03:23:28 PM UTC
                Category: find
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Paul Marinescu
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.5.9
           Fixed Release: None



When parsing a -printf argument, insert_fprintf treats a lone \ incorrectly
when it's the last character of the argument, reading beyond the terminating
NUL, e.g.

find . -printf "%f\"

This is hard to notice because the final make_segment call does  take the
terminating NUL into account.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]