[Date Prev][Date Next] [Chronological] [Thread] [Top]

Patch: ucdata 2.4 bugs (ITS#1751)

Full_Name: Hallvard B. Furuseth
Version: HEAD (2002-04-12)
OS: Linux
URL: http://folk.uio.no/hbf/OpenLDAP/ucdata.txt
Submission from: (NULL) (

ucgendat.c accessed unallocated memory when i == ncodes_size.

The changes others are trivial, I just include them since I'm patching
ucdata anyway:

ucdata.c   had some pointless '0 <= unsigned' comparisons.

ucstr.c    assigned a long* to an unsigned long*.  Since malloc()
           returns void*, the result need not be cast at all.

I'll send the ucgendat.c and ucdata.c patches to Mark Leisher