Package: libc6
Version: 2.3.2.ds1-11
Severity: normal

Function calls 

  mbrtowc(pwc, pbuf, 0, pstate)
  
and

  mbtowc(pwc, pbuf, 0)

now return 0 but they should do this only if pbuf points to NUL byte
(and length != 0 ???). These function calls should return -1 as
zero-length multibyte sequence is not valid. This is used in example in
libc documentation (info libc "Multibyte Conversion Example", while (0)
loop).

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=uk_UA, LC_CTYPE=uk_UA

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to