Actions
Bug #14107
closed'\0' not properly escaped in some manual pages
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
While helping test a new mandoc update, I discovered that there were several differences. While most of these were expected some of them highlighted a problem that we had two manual pages that used the '\0'
construct without escaping. This is valid syntax per mandoc_char
that doesn't translate to what we think it does. The fix is to escape it properly for ctfdump(1) and for the mbrtoc16(3C) page to probably just switch to a memset
of a literal 0 in its example.
Updated by Robert Mustacchi 8 months ago
I tested these by just double checking that everything rendered correctly in man(1).
Updated by Electric Monk 8 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
git commit 279209130920025623a312e02980ec58c0f39430
commit 279209130920025623a312e02980ec58c0f39430 Author: Robert Mustacchi <rm@fingolfin.org> Date: 2021-09-25T15:22:24.000Z 14107 '\0' not properly escaped in some manual pages Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Actions