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 libc/1970] getgrnam_r() and groups with more than 1024 bytes


------- Additional Comments From drepper at redhat dot com  2006-04-23 19:47 -------
There are at least two bugs in the program which have to make it crash:

- the test whether getgrnam_r returns something must be

  if(result == NULL && res == 0) {

  and not

  if(&result == NULL && res == 0) {

  &result is always != NULL


- you cannot call delete on 'result'.  Only on 'buffer'.


I'm closing this bug.  Reopen only after you can demonstrate with a C program
that there is indeed a problem.  In this case you also have to provide a
description of the setup.

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


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

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


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