]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/readelf.c
Correct fscanf char field count
authorAlan Modra <amodra@gmail.com>
Tue, 14 Oct 2014 03:00:57 +0000 (13:30 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 14 Oct 2014 03:34:11 +0000 (14:04 +1030)
commit9495b2e66f772783eb89cfa755e1e09641fa44eb
treebdccf42940c4914b36188934e0c00ec4f43c5d4d
parentdaf5e10e4cb2c5e502950dae5da5936d9a3d5a79
Correct fscanf char field count

%<number>s as an fscanf format does not include the trailing NULL.
PATH_MAX does include the trailing NULL.

PR 17453
* readelf.c (process_program_headers): Correct fscanf format used
for interpreter.
binutils/ChangeLog
binutils/readelf.c