projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
865d90b
)
* features/loadapi (test_expand): Allocate memory for the nul byte.
author
Paul Smith
<psmith@gnu.org>
Sun, 24 Nov 2013 09:08:30 +0000
(
04:08
-0500)
committer
Paul Smith
<psmith@gnu.org>
Sun, 24 Nov 2013 09:08:30 +0000
(
04:08
-0500)
tests/scripts/features/loadapi
patch
|
blob
|
history
diff --git
a/tests/scripts/features/loadapi
b/tests/scripts/features/loadapi
index bf66bae85d574ad481c38c301394298f653fda19..8c824c049d84b9ae10c612708df92f278d4bc2f2 100644
(file)
--- a/
tests/scripts/features/loadapi
+++ b/
tests/scripts/features/loadapi
@@
-36,7
+36,7
@@
test_expand (const char *val)
static char *
test_noexpand (const char *val)
{
- char *str = gmk_alloc (strlen (val));
+ char *str = gmk_alloc (strlen (val)
+ 1
);
strcpy (str, val);
return str;
}