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

ber_pvt_snprintf core dumps (ITS#2207)

Full_Name: Albert Chin-A-Young
Version: 2.1.8
OS: Solaris 2.5.1/SPARC
URL: ftp://ftp.openldap.org/incoming/chinayoung-021126.2
Submission from: (NULL) (

ber_pvt_snprintf() core dumps on Solaris 2.5.1/SPARC and Tru64 UNIX 4.0D. The
implementation via pipe() seems way ugly. I gutted it in favor of trio:

Patch in ftp://ftp.openldap.org/incoming/chinayoung-021126.2.

BTW, lftp, curl, and other projects use trio. Maybe trio is overkill for what
you need (ncurses has a private implementation that is smaller) but it is easy
to integrate and it supports the various printf arguments.