This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Sat, Aug 31, 2002 at 12:04:15PM -0700, Roland McGrath wrote:
> I have put in similar changes now that I think are right. Please check them.
> We certainly need some tests for this stuff if anybody feels like writing some.
free_data_and_exit:
while (cnt-- > 0)
if (((category_mask & 1 << cnt) != 0)
...
while (cnt-- > 0)
if (result.__names[cnt] != _nl_C_name)
free ((char *) result.__names[cnt]);
goto free_data_and_exit;
cnt will be zero here, so free_data_and_exit will not do its job.
Jakub
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |