|
Re: patch to login, dmesg and obscure: msg#00240linux.busybox
Erik, I've discovered some bugs in the BusyBox unstable branch and since it doesn't seem to fixed in the 1.0.0-pre1 release I created a patch with my changes. Description below: * libbb/obscure.c:password_check() This moment have algoritmicaly problem, not overflow: strcat(wrapped, wrapped) - may be looped. Hand patch: - else if (strstr(strcat(wrapped, wrapped), newmono)) + else { + safe_strncpy(wrapped + lenwrap, wrapped, lenwrap + 1); + if (strstr(wrapped, newmono)) +} --w vodz |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: patch to login, dmesg and obscure: 00240, Erik Andersen |
|---|---|
| Next by Date: | Re: patch to login, dmesg and obscure: 00240, Erik Andersen |
| Previous by Thread: | Re: patch to login, dmesg and obscurei: 00240, Erik Andersen |
| Next by Thread: | Re: patch to login, dmesg and obscure: 00240, Stefan Jeglinski |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |