projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92713fe
)
embryo: don't use sizeof() when strlen() is intended
author
Mike Blumenkrantz
<zmike@samsung.com>
Fri, 18 Oct 2019 17:29:20 +0000
(13:29 -0400)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Mon, 11 Nov 2019 02:18:26 +0000
(11:18 +0900)
Summary: CID 1402617
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10411
src/bin/embryo/embryo_cc_sc1.c
patch
|
blob
|
history
diff --git
a/src/bin/embryo/embryo_cc_sc1.c
b/src/bin/embryo/embryo_cc_sc1.c
index
0d88863
..
bb9486d
100644
(file)
--- a/
src/bin/embryo/embryo_cc_sc1.c
+++ b/
src/bin/embryo/embryo_cc_sc1.c
@@
-2089,7
+2089,7
@@
funcstub(int native)
error(10); /* illegal function or declaration */
return;
} /* if */
- assert(s
izeof
(str) <= sNAMEMAX);
+ assert(s
trlen
(str) <= sNAMEMAX);
strcpy(symbolname, str);
} /* if */
needtoken('('); /* only functions may be native/forward */