[Date Prev][Date Next]
ber_pvt_snprintf core dumps (ITS#2207)
Full_Name: Albert Chin-A-Young
OS: Solaris 2.5.1/SPARC
Submission from: (NULL) (220.127.116.11)
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.