GNU gettext - Bugs: bug #63529, xgettext: potential null-ptr...
You are not allowed to post comments on this tracker with your current authentication level.
bug #63529: xgettext: potential null-ptr dereference in XML resource locating rules
Submitter: | Shashank <theshank> | ||
Submitted: | Thu 15 Dec 2022 12:58:35 AM UTC | ||
Category: | XML | Severity: | 3 - Normal |
Item Group: | None | Status: | Fix Released |
Privacy: | Public | Assigned to: | ueno |
Open/Closed: | Closed |
Sat 17 Jun 2023 01:50:23 PM UTC, comment #3: |
Bruno Haible <haible> |
Sun 05 Mar 2023 01:53:41 AM UTC, comment #2: Thanks; should be fixed with:
|
Daiki Ueno <ueno> |
Thu 15 Dec 2022 02:42:22 AM UTC, comment #1: This code gets only used when parsing .loc files, indicated through command-line options and/or environment variables to the msgfmt and xgettext programs.
|
Bruno Haible <haible> |
Thu 15 Dec 2022 12:58:35 AM UTC, original submission:
In gettext-tools/src/locating-rule.c, the following code does not check the return value of xmlGetProp, which would lead to NULL-pointer dereference in xstrdup() (in gettext-tools/gnulib-lib/xstrdup.c) whenever xmlGetProp() returns NULL.
|
Shashank <theshank> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2023-06-17 | haible | Status | Fixed | Fix Released | |
2023-03-05 | ueno | Status | Confirmed | Fixed | |
Assigned to | None | ueno | |||
Open/Closed | Open | Closed | |||
2022-12-15 | haible | Category | C | XML | |
Status | None | Confirmed |
Powered by Savane 3.13-02a9.
Corresponding source code
The fix is contained in gettext 0.22.