]> git.ipfire.org Git - thirdparty/grub.git/commit
* grub-core/fs/ext2.c (grub_ext2_read_symlink): Use memcpy rather
authorVladimir Serbinenko <phcoder@gmail.com>
Fri, 1 Nov 2013 17:44:46 +0000 (18:44 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Fri, 1 Nov 2013 17:44:46 +0000 (18:44 +0100)
commiteb03ede0146c69d1e565624e35021b0ac05758fd
tree532a5eecbb6dd0e6e2c4d69272b5ce329673b269
parent8fbe5c7df728e3fc34912c26fa5c5d63d40f7ca0
* grub-core/fs/ext2.c (grub_ext2_read_symlink): Use memcpy rather
strncpy.
* grub-core/fs/jfs.c (grub_jfs_lookup_symlink): Likewise.
* grub-core/kern/misc.c (grub_strncpy): Move from here ...
* include/grub/misc.h (grub_strncpy): ... to here. Make inline.
* grub-core/net/net.c (grub_net_addr_to_str): Use COMPILE_TIME_ASSERT
+ strcpy rather than strncpy.
ChangeLog
grub-core/fs/ext2.c
grub-core/fs/jfs.c
grub-core/kern/misc.c
grub-core/net/net.c
include/grub/misc.h