From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041003
Description of problem:
One of the changes in ypserv-2.8-iface-binding3.patch contains a
- c = getopt_long (argc, argv, "vdp:buh", long_options,
+ c = getopt_long (argc, argv, "vdpi:buh", long_options,
Since "p" loses the colon after it, it no longer requires an argument,
so eventually atoi() ends up being called with a NULL argument.
The fix is obvious, is tested, and it solves the problem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. ypserv -p 920
Actual Results: # ypserv -p911
Bug was verified, and has been fixed in ypserv-2.8-11.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.