On 6/28/2013 4:07 AM, Roland Dreier wrote: > From: Roland Dreier <[email protected]> > > Currently, the getopt table in osmtest labels the "-guid" option as > taking an optional argument; however, running osmtest with the -guid > option but no argument just leads to: > > $ /usr/sbin/osmtest -guid > > Command Line Arguments > Segmentation fault > > because the handling for the -guid option just passes optarg directly to > strtoull(), and without and argument, optarg is NULL. Really, the > argument should be mandatory. > > This bug was found by the Mayhem tool: > http://www.forallsecure.com/bug-reports/edea01ceefbb188dcc62b3fc4f59dc743d7429c9/ > > Signed-off-by: Roland Dreier <[email protected]>
Thanks. Applied. -- Hal -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
