Is the co-pilot itself performance-sensitive?
Is the co-pilot itself performance-sensitive?
Posted Sep 23, 2024 9:12 UTC (Mon) by rweikusat2 (subscriber, #117920)In reply to: Is the co-pilot itself performance-sensitive? by viro
Parent article: pcp: pmcd network daemon review (SUSE Security Team Blog)
It would. The best way to express this without errors is probably
if (vindex < 0 || vindex >= pdulen / sizeof(*pdubuf)) {
as this uses the actual type of the array element, whatever it is.
