r23356: We missed to add the 'c' character to the list of valid ones for
authorSimo Sorce <idra@samba.org>
Tue, 5 Jun 2007 12:58:18 +0000 (12:58 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:09 +0000 (12:23 -0500)
shell escaping.

I hate this kind of bugs more than how Jeremy hates off by ones :(

Simo.
(This used to be commit 42d846ff870f93b7eaca316f04c12104330bbca8)

source3/lib/util_str.c

index 1439ac6fcd39314ab137154a91aa6f93becdb252..52cdbfceddc694ff95424a313e4c4c171ea0c960 100644 (file)
@@ -2622,7 +2622,7 @@ size_t utf16_len_n(const void *src, size_t n)
  of characters. UNIX charset format.
 *******************************************************************/
 
-#define INCLUDE_LIST "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabdefghijklmnopqrstuvwxyz_/ \t.,"
+#define INCLUDE_LIST "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_/ \t.,"
 #define INSIDE_DQUOTE_LIST "$`\n\"\\"
 
 char *escape_shell_string(const char *src)