Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

bash crashes on tab completion of usernames (with nss-ldap)

From: Alex Samad <alex(at)samad.com.au>
Date: Tue Feb 19 2008 - 18:25:37 EST


Hi

Well the subject says it all

I have recently update libnss-ldap (there is a whole new set of ldap stuff as all the packages are linked against gnutls).

I have file a bug report Bug#466610 against bash.

zsh and getent passwd don't seem to suffer from the problem

When i try this                                                                                                                                          
ls ~al                                                                                                                                              
malloc: unknown:0: assertion botched                                                                                                                     
free: start and end chunk sizes differ                                                                                                                   
last command: ls -l                                                                                                                                      
                                                                                                                                                         

I added some debuging printf's around a build static-bash, specifically in rl_username_completion_function.

it seems to crash when asking for the next record and that next record I have seen this in zsh or getent passwd I do not see any problems. The last good version of libnss-ldap i had was 258-1, all versions past that I have seen this problem, again only in bash.

so readers, how can I debug this further and has any one else seen this problem on their machines ?

Do you need help?X

I have had a look at the libnss-ldap code and the change set is rather minor (although I have only looked at the diff not the resulting code).

-- 
"We look forward to analyzing and working with legislation that will make—it would hope—put a free press's mind at ease that you're not being denied information you shouldn't see."

	- George W. Bush
04/14/2005
Washington, DC

-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Received on Tue Feb 19 18:26:10 2008

This archive was generated by hypermail 2.1.8 : Mon Mar 17 2008 - 19:38:24 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library