CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2016/08/01 10:40:09

Modified files:
        gnu/usr.bin/binutils-2.17/bfd: elf.c elflink.c 

Log message:
Make sure variables are initialized before using them

In elf.c, do not increment `s' before it is initialized. At the time
of the increment, `s' is otherwise unused anyway.

In elflink.c, initialize sec_contents and l_sec_contents to make
sure that the free(sec_contents) and free(l_sec_contents) are called
on valid pointers.

ok jca@ guenther@

Reply via email to