On 31 May 2016 at 02:21, Eric Engestrom <[email protected]> wrote: > From strncpy's man page: > Warning: If there is no null byte among the first n bytes of src, the > string placed in dest will not be null-terminated. > > CoverityID: 1320457, 1320458, 1255671 > Change looks fine by me, although I'm not sure if it's even remotely possible to hit it. Then again... all the duplication makes me cringe. I'll beat but some patches to minimise that. Then we can apply this fix (if others are not against it) in a couple of places only.
-Emil _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
