projects
/
platform
/
upstream
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extend overflow detection in re_dfa_add_node.
[platform/upstream/glibc.git]
/
posix
/
tst-spawn.c
diff --git
a/posix/tst-spawn.c
b/posix/tst-spawn.c
index
745f64d
..
4b5d894
100644
(file)
--- a/
posix/tst-spawn.c
+++ b/
posix/tst-spawn.c
@@
-61,7
+61,7
@@
static const char fd3string[] = "This file will be opened";
void
do_prepare (int argc, char *argv[])
{
void
do_prepare (int argc, char *argv[])
{
-
char
name_len;
+
size_t
name_len;
name_len = strlen (test_dir);
name1 = (char *) malloc (name_len + sizeof ("/spawnXXXXXX"));
name_len = strlen (test_dir);
name1 = (char *) malloc (name_len + sizeof ("/spawnXXXXXX"));