projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b43a35
)
[connman] Fixed derefrencing of NULL pointer.
67/72167/2
author
Niraj Kumar Goit
<niraj.g@samsung.com>
Tue, 31 May 2016 10:53:57 +0000
(16:23 +0530)
committer
Niraj Kumar Goit
<niraj.g@samsung.com>
Wed, 8 Jun 2016 12:13:08 +0000
(17:43 +0530)
Change-Id: I2174f8e6afca4e2c7795ec8ca8118c296ee9fece
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
src/iptables.c
patch
|
blob
|
history
diff --git
a/src/iptables.c
b/src/iptables.c
index
dd1b2e6
..
c65f9ef
100755
(executable)
--- a/
src/iptables.c
+++ b/
src/iptables.c
@@
-2311,6
+2311,10
@@
int __connman_iptables_commit(const char *table_name)
return -EINVAL;
repl = iptables_blob(table);
+#if defined TIZEN_EXT
+ if(!repl)
+ return -ENOMEM;
+#endif
if (debug_enabled)
dump_ipt_replace(repl);