git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71a3309
)
Can't use space in random string used for exec.
author
Jeremy Allison
<jra@samba.org>
Thu, 12 Apr 2001 07:20:15 +0000
(07:20 +0000)
committer
Jeremy Allison
<jra@samba.org>
Thu, 12 Apr 2001 07:20:15 +0000
(07:20 +0000)
Jeremy.
source/lib/genrand.c
patch
|
blob
|
history
diff --git
a/source/lib/genrand.c
b/source/lib/genrand.c
index 67fbbc7a06c0a4234d2295d2c6c0397dad5952f7..c8c39d026e45e8bcf9df98d449be190b9c064b2e 100644
(file)
--- a/
source/lib/genrand.c
+++ b/
source/lib/genrand.c
@@
-232,7
+232,7
@@
void generate_random_buffer( unsigned char *out, int len, BOOL re_seed)
Use the random number generator to generate a random string.
********************************************************************/
-static char c_list[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+
_-#.,";
+static char c_list[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+_-#.,";
char *generate_random_str(size_t len)
{