projects
/
platform
/
kernel
/
linux-tizen-modules-source.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2313a42
)
kdbus: stringop-overread warning
50/317750/2
author
Seung-Woo Kim
<sw0312.kim@samsung.com>
Tue, 7 Jan 2025 07:24:23 +0000
(16:24 +0900)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Tue, 7 Jan 2025 08:20:24 +0000
(17:20 +0900)
The strcmp() with char[0] causes stringop-overread warning.
Remove the warning with replacing char[].
Change-Id: Ied651a572d42fbe52ca45840dc89b9dbc93c5d69
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
include/uapi/linux/kdbus.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/kdbus.h
b/include/uapi/linux/kdbus.h
index eaf9c20fed9f9c557c65a405c1bedc64fedcf089..1bb70109362b5347b63a241c35ccc8f0b08cb49e 100644
(file)
--- a/
include/uapi/linux/kdbus.h
+++ b/
include/uapi/linux/kdbus.h
@@
-54,7
+54,7
@@
struct kdbus_notify_id_change {
struct kdbus_notify_name_change {
struct kdbus_notify_id_change old_id;
struct kdbus_notify_id_change new_id;
- char name[
0
];
+ char name[];
} __attribute__((__aligned__(8)));
/**