public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nscd/4946] New: Wrong check in nscd's handle_request()
@ 2007-08-21 21:07 pasky at suse dot cz
  2007-08-21 21:08 ` [Bug nscd/4946] " pasky at suse dot cz
  2007-08-22  3:40 ` drepper at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: pasky at suse dot cz @ 2007-08-21 21:07 UTC (permalink / raw)
  To: glibc-bugs

handle_request()'s check for sendfileall() is wrong. db->mmap_used must be
always true, otherwise  assert (db->wr_fd != -1)  fails. And even if
cached->notfound, why not use sendfileall()?

-- 
           Summary: Wrong check in nscd's handle_request()
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nscd
        AssignedTo: drepper at redhat dot com
        ReportedBy: pasky at suse dot cz
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4946

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug nscd/4946] Wrong check in nscd's handle_request()
  2007-08-21 21:07 [Bug nscd/4946] New: Wrong check in nscd's handle_request() pasky at suse dot cz
@ 2007-08-21 21:08 ` pasky at suse dot cz
  2007-08-22  3:40 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: pasky at suse dot cz @ 2007-08-21 21:08 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pasky at suse dot cz  2007-08-21 21:08 -------
Created an attachment (id=1973)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1973&action=view)
Proposed fix


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4946

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug nscd/4946] Wrong check in nscd's handle_request()
  2007-08-21 21:07 [Bug nscd/4946] New: Wrong check in nscd's handle_request() pasky at suse dot cz
  2007-08-21 21:08 ` [Bug nscd/4946] " pasky at suse dot cz
@ 2007-08-22  3:40 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2007-08-22  3:40 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2007-08-22 03:40 -------
Applied.  With a different ChangeLog message, though.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=4946

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-22  3:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-21 21:07 [Bug nscd/4946] New: Wrong check in nscd's handle_request() pasky at suse dot cz
2007-08-21 21:08 ` [Bug nscd/4946] " pasky at suse dot cz
2007-08-22  3:40 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).