projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
copy-acl: enhance Solaris ACL error handling
[gnulib.git]
/
lib
/
regex_internal.c
diff --git
a/lib/regex_internal.c
b/lib/regex_internal.c
index
a116106
..
378b767
100644
(file)
--- a/
lib/regex_internal.c
+++ b/
lib/regex_internal.c
@@
-1716,7
+1716,9
@@
create_cd_newstate (const re_dfa_t *dfa, const re_node_set *nodes,
free_state (newstate);
return NULL;
}
- re_node_set_init_copy (newstate->entrance_nodes, nodes);
+ if (re_node_set_init_copy (newstate->entrance_nodes, nodes)
+ != REG_NOERROR)
+ return NULL;
nctx_nodes = 0;
newstate->has_constraint = 1;
}