OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Incoming/6937
Full headers

From: h.b.furuseth@usit.uio.no
Subject: Remove --enable-proctitle and strdup(optarg)
Compose comment
Download message
State:
0 replies:
0 followups:

Major security issue: yes  no

Notes:

Notification:


Date: Tue, 10 May 2011 17:21:31 +0000
From: h.b.furuseth@usit.uio.no
To: openldap-its@OpenLDAP.org
Subject: Remove --enable-proctitle and strdup(optarg)
Full_Name: Hallvard B Furuseth
Version: master, 2.4.25
OS: 
URL: 
Submission from: (NULL) (129.240.6.233)
Submitted by: hallvard


"configure --enable-proctitle" uses setproctitle/proctitle(), which
we no longer use.  So I'll remove that and liblutil/setproctitle.c.
That's the default implementation, which works by overwriting argv[].

That's got to be why we have strdup(optarg) instead of just optarg all
over the place.  So we can drop the strdup()s, which gets rid some
admittedly unimportant memory leak reports from program checkers.
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org