|
Re: patch to login, dmesg and obscure: msg#00215linux.busybox
Ronny, wrapped have size(old) * 2 +1. This can`t overflow for rotate check. Example: old = "123" (4 bytes) wrapped allocated = 3*2 + 1 = 7 bytes. first initialisez only 4 bytes = "123" after strcat resut is "123123" - 7 bytes. Not overflow. --w vodz |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Some problems with busybox-1.0.0-pre1: 00215, Manuel Novoa III |
|---|---|
| Next by Date: | Re: Some problems with busybox-1.0.0-pre1: 00215, Vladimir N. Oleynik |
| Previous by Thread: | Re: patch to login, dmesg and obscurei: 00215, Ronny L Nilsson |
| Next by Thread: | Re: patch to login, dmesg and obscure: 00215, Ronny L Nilsson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |