Project

General

Profile

Actions

Bug #14107

closed

'\0' not properly escaped in some manual pages

Added by Robert Mustacchi 10 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Category:
manpage - 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.

Actions

Also available in: Atom PDF