projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e7ddac
)
[PATCH] strndup() would better take size_t, not int
author
Al Viro
<viro@ftp.linux.org.uk>
Tue, 10 Oct 2006 21:49:17 +0000
(22:49 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 10 Oct 2006 22:37:24 +0000
(15:37 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/irda/irias_object.c
patch
|
blob
|
blame
|
history
diff --git
a/net/irda/irias_object.c
b/net/irda/irias_object.c
index a154b1d71c0f8d9af8e0f0c429886c5cdbe8b44c..56292ab7d6522861d5d5be01983d54e170869ef0 100644
(file)
--- a/
net/irda/irias_object.c
+++ b/
net/irda/irias_object.c
@@
-43,7
+43,7
@@
struct ias_value irias_missing = { IAS_MISSING, 0, 0, 0, {0}};
*
* Faster, check boundary... Jean II
*/
-static char *strndup(char *str,
in
t max)
+static char *strndup(char *str,
size_
t max)
{
char *new_str;
int len;