Thread (16 messages) 16 messages, 6 authors, 2011-02-11

Re: [PATCH] Btrfs-progs use safe string manipulation functions

From: Olaf van der Spek <hidden>
Date: 2011-02-10 11:21:50

On Thu, Feb 10, 2011 at 12:08 PM, Thomas Bellman [off-list ref] w=
rote:
=C2=A0 =C2=A0strncpy(args.name, source, BTRFS_PATH_NAME_MAX);
=C2=A0 =C2=A0args.name[BTRFS_PATH_NAME_MAX] =3D '\0';
That's silly. Isn't there a sane safe variant of strcpy?

Olaf
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help