Revision 166faf21bd14bc5c5295a44874bf7f3930c30b20 authored by Jeff Layton on 24 May 2013, 11:40:04 UTC, committed by Steve French on 24 May 2013, 18:08:19 UTC
Consider the case where we have a very short ip= string in the original
mount options, and when we chase a referral we end up with a very long
IPv6 address. Be sure to allow for that possibility when estimating the
size of the string to allocate.

Cc: <stable@vger.kernel.org>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
1 parent 62106e9
History
File Mode Size
libfdt
.gitignore -rw-r--r-- 55 bytes
Makefile -rw-r--r-- 1.0 KB
Makefile.dtc -rw-r--r-- 372 bytes
checks.c -rw-r--r-- 20.1 KB
data.c -rw-r--r-- 5.1 KB
dtc-lexer.l -rw-r--r-- 5.4 KB
dtc-lexer.lex.c_shipped -rw-r--r-- 57.5 KB
dtc-parser.tab.c_shipped -rw-r--r-- 64.2 KB
dtc-parser.tab.h_shipped -rw-r--r-- 2.8 KB
dtc-parser.y -rw-r--r-- 10.1 KB
dtc.c -rw-r--r-- 7.1 KB
dtc.h -rw-r--r-- 7.4 KB
fdtdump.c -rw-r--r-- 3.6 KB
fdtget.c -rw-r--r-- 8.6 KB
fdtput.c -rw-r--r-- 8.3 KB
flattree.c -rw-r--r-- 21.8 KB
fstree.c -rw-r--r-- 2.2 KB
livetree.c -rw-r--r-- 13.6 KB
srcpos.c -rw-r--r-- 7.5 KB
srcpos.h -rw-r--r-- 3.7 KB
treesource.c -rw-r--r-- 6.0 KB
util.c -rw-r--r-- 6.2 KB
util.h -rw-r--r-- 4.4 KB
version_gen.h -rw-r--r-- 42 bytes

back to top