Summary: | dhcpcd: -v option causes segfault | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bert van Leeuwen <bert> |
Component: | Current packages | Assignee: | Roy Marples (RETIRED) <uberlord> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Bert van Leeuwen
2006-07-20 13:34:49 UTC
Fixed in dhcpcd-2.0.8-r1, also patched upstream svn. If you want to re-write the option parsing code using optarg/getopt then by all means go for it - all patches gratefully accepted :) But please always send patches against the latest version in portage. (In reply to comment #0) > The whole argument parsing in dhcpcd.c can actually be improved (made more > robust) by ripping out all the code and replacing it with the standard > optarg/getopt framework in unistd.h. I'm doing this now, so don't waste your time on this :) (In reply to comment #2) > I'm doing this now, so don't waste your time on this :) Excellent, thanks for letting me know! I as considering tackling it this evening :) (In reply to comment #3) > (In reply to comment #2) > > I'm doing this now, so don't waste your time on this :) > > Excellent, thanks for letting me know! I as considering tackling it this > evening :) > Infact it you plan on doing any dhcpcd patches, please checkout the lastest via SVN as I've just re-styled the entire codebase in GNU C style as the existing code was so hard to read. http://developer.berlios.de/svn/?group_id=4229 |