tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: go-ttf dependency on ttmkfdir2



On Thu, Jan 01, 2026 at 11:50:01PM +0000, David Holland wrote:
 >  > I smell UB.
 > 
 > Indeed, the problem is that it's doing a standard wrong thing:
 > 
 >    char foo[LEN];
 >    strcpy(foo, text);
 >    return foo;
 > 
 > except it's dressed up in C++ flummery so it's not obviously wrong.
 > 
 > I have a patch, I'll commit it in a moment.

Committed.

There's another problem, which is that there's half a dozen or so
entries in the font foundries table in there that cannot be matched
because they're lowercase. However, that's probably for upstream.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index