Bug 29212 - gconv_parseconfdir is not y2038 aware
Summary: gconv_parseconfdir is not y2038 aware
Status: RESOLVED DUPLICATE of bug 29213
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.34
: P2 normal
Target Milestone: 2.36
Assignee: Adhemerval Zanella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-31 15:41 UTC by Adhemerval Zanella
Modified: 2022-06-01 17:21 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adhemerval Zanella 2022-05-31 15:41:48 UTC
It still uses non-y2038 internal interfaces:

157           if (len > strlen (suffix)
158               && strcmp (ent->d_name + len - strlen (suffix), suffix) == 0)
159             {
160               char *conf;
161               struct stat64 st;
162               if (asprintf (&conf, "%s/%s", buf, ent->d_name) < 0)
163                 continue;
164 
165               if (ent->d_type != DT_UNKNOWN
166                   || (lstat64 (conf, &st) != -1 && S_ISREG (st.st_mode)))
167                 found |= read_conf_file (conf, dir, dir_len);
168
Comment 1 Adhemerval Zanella 2022-06-01 16:28:29 UTC
Fixed on 2.36.
Comment 2 Adhemerval Zanella 2022-06-01 17:21:35 UTC

*** This bug has been marked as a duplicate of bug 29213 ***