tech-pkg archive

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

Re: QString and ctype(3)



Paul Ripke <stix%stix.id.au@localhost> writes:

>> Is anyone else seeing issues with QT programs under NetBSD current?
>
> Reading thru qt6 source, QUnicodeTables::convertCase() doesn't seem to
> rely on ctype(3). Sure it's not one of the usages in qgis itself? They
> look suspect, I think? I don't have a system running current to easily
> test.

I found several problems in proj (now fixed upstream, and in pkgsrc)
that were the reported problem.

Whether there are more in qgis proper is unclear

> FWIW, I've tripped over ctype(3) breakage previously, too, most recently:
> https://github.com/stixpjr/widelands/commit/755251e0d89d7b739645d1cafbf3351ae1ca74b8
>
> The fact the ctype(3) API takes (int) args but has UB if called with
> a value <-1 is just asking for trouble.

As Joeseph taught Eliza to say, many others have the same sorts of feelings.

But we are stuck with it...


Home | Main Index | Thread Index | Old Index