This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/14498] default /var/db/services.db triggers infinite CPU loop with getaddrinfo()


https://sourceware.org/bugzilla/show_bug.cgi?id=14498

Alexandre Oliva <aoliva at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED
                 CC|                            |aoliva at sourceware dot org
           Assignee|unassigned at sourceware dot org   |aoliva at sourceware dot org

--- Comment #7 from Alexandre Oliva <aoliva at sourceware dot org> ---
Created attachment 7872
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7872&action=edit
two patches in one, both fixing the problem

We use some code from nss_files in nss_db, and nss_files' code used âcontinueâ
to skip a non-matching proto, but in nss_db this bypassed the code to advance
to the next entry.  Both changes individually fix the problem; I'm undecided as
to which one to go with, or maybe even go with both.  Thoughts?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]