Project

General

Profile

Actions

Bug #3393

open

(libc) catopen(3): align returned errors with IEEE Std 1003.1™-2024

Added by pmjdebruijn 2 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Userland
Target version:
Start date:
01/22/2026
Due date:
% Done:

0%

Estimated time:

Description

Ref: https://reviews.freebsd.org/D47413

  • Invalid/non-existent/unable to use message catalog file should result in ENOENT, and not in EFTYPE.
  • Added detection of several cases of wrong file format due to length [*].
  • Update man page.

Patch: https://cgit.freebsd.org/src/patch/lib/libc/nls/msgcat.c?id=1176390d2d2bbb1e207c840d1f7a66a6ac1096ff (patch (with fuzz) applies and compiles)

There are some other "upstream changes" to the nls code as well, so cherry-picking this patch vs syncing the nls codebase is a tradeoff probably worth considering...

No data to display

Actions

Also available in: Atom PDF