Red Hat Bugzilla – Bug 112260
debug code generates seg fault
Last modified: 2007-11-30 17:06:59 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031022
Description of problem:
I'm experimenting with the code path if defining
I found a bug in line 896 that causes a seg fault if running ypbind
with debugging turned on (-d flag).
Attached is a patch.
Since most people use USE_BROADCAST=1, this probably won't affect many
people, but it is a bug.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Define USE_BROADCAST=0 and compile ypbind
2. Start ypbind with -d flag for debugging
3. A child process will seg fault
Actual Results: seg fault
Expected Results: daemon continues to run
Created attachment 96565 [details]
patch to fix seg fault