[sr-dev] [tracker] Task opened: ldapsearch with empty filter (Attachment added)

sip-router admin at sip-router.org
Wed Dec 23 18:16:07 CET 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Andrey 'Krieger' Utkin (andrey.utkin.2) 

Attached to Project - sip-router
Summary - ldapsearch with empty filter
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - When in routing script ldapsearch() is executed on LDAP query URL without 'filter' section, request forming fails:
ERROR: ldap [ldap_api_fn.c:193]: vsnprintf failed

Workaround for administrators can be filling filter section with '(objectclass=*)', what is anyway substituted by ldap library to request in case filter parameter set to NULL.

Fix of project code can be the attached patch.

Please notice that va_end() call is missing in original code.

One or more files have been attached.

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=23

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list