URL: <http://savannah.gnu.org/bugs/?39162>
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: paul.marine...@imperial.ac.uk Open/Closed: Open Discussion Lock: Any Release: 4.5.9 Fixed Release: None _______________________________________________________ Details: 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: <http://savannah.gnu.org/bugs/?39162> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/