projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05b4354
)
Fixed SVACE issue
82/205182/1
author
kumudhakn
<kumudha.n@samsung.com>
Tue, 30 Apr 2019 05:41:34 +0000
(11:11 +0530)
committer
kumudhakn
<kumudha.n@samsung.com>
Tue, 30 Apr 2019 05:41:34 +0000
(11:11 +0530)
Change-Id: Id48d629eed926ad6d272d55fbcd8f953fd466dd0
Signed-off-by: kumudhakn <kumudha.n@samsung.com>
scripts/mod/modpost.c
patch
|
blob
|
history
diff --git
a/scripts/mod/modpost.c
b/scripts/mod/modpost.c
index e080746e1a6b528a218b416b5344368cd6db7065..f52c7b65c7cd835f4d9403b22e2fd0809157905c 100644
(file)
--- a/
scripts/mod/modpost.c
+++ b/
scripts/mod/modpost.c
@@
-1311,6
+1311,9
@@
static char *sec2annotation(const char *s)
{
if (match(s, init_exit_sections)) {
char *p = malloc(20);
+ if (p == NULL) {
+ return strdup("");
+ }
char *r = p;
*p++ = '_';