Description of problem: I just tried to compile Core2 Test1 package prelink-0.3.0-20 The compiler said prelink.c(348): remark #592: variable "data" is used before its value is set The source code is free (data.d_buf); Calling free on uninit local variable data is deeply unwise. Suggest init data.d_buf before first use. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Thanks, fixed in my tree. Bigger bug is that GCC doesn't warn about this (only when the variable is not aggregate). ++todo.
An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2004-386.html