Re: [1/2] msvcrt: Implement _mbsnbcat_s.
20 Oct
2010
20 Oct
'10
4:19 p.m.
Hi, On 10/20/10 08:49, Andrew Nguyen wrote: + * a lead byte and move the pointer back by one for later overwrite. */ + if (get_locale()->locinfo->mb_cur_max > 1 && MSVCRT_isleadbyte(*(ptr - 1))) + size++, ptr--; You may access dst-1. + ok(errno == EINVAL, "Expected errno to be EINVAL, got %d\n", ret); Printing ret here may be misleading. Cheers, Piotr
5537
Age (days ago)
5537
Last active (days ago)
0 comments
1 participants
participants (1)
-
Piotr Caban