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 nis/3559] unchecked malloc in glibc/sunrpc/svc_run.c


------- Additional Comments From jakub at redhat dot com  2006-11-22 07:51 -------
If we touch this file, there are further things we should look at:
1) svc_exit's comment says it should be usable in signal handler, but calling
   free isn't possible in signal handlers, perhaps just clearing svc_maxpoll_fd
   and freeing in svc_run instead
2) doing a malloc/free pair in every single svc_run loop iteration sounds
   overkill to me, it should be enough if it reallocates the memory if
   svc_maxpoll_fd changes since last invocation

-- 


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

------- 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]