William Moss
billm...@acm.org

On my Debian system, they seem to have applied the fix for strcpy.
On my custom system, I recompiled bash 4.2 from source and when I tried to
apply the latest patch:
patch -b -i ./bash42-048 -p0 -o ./bash
I get

patching file ./bash
Hunk #1 succeeded at 36 with fuzz 2.
patching file ./bash
Hunk #1 succeeded at 262 with fuzz 2.
Hunk #2 succeeded at 330 with fuzz 2.
patching file ./bash
Hunk #1 FAILED at 348.
Hunk #2 FAILED at 362.
2 out of 2 hunks FAILED -- saving rejects to file ./bash.rej
patching file ./bash
Hunk #1 FAILED at 26.
1 out of 1 hunk FAILED -- saving rejects to file ./bash.rej

Any ideas?
I also tried this w/ 4.1 and 4.3, same result.

Thank you.
BTW:
When I taught C at Bell Labs, in the mid 1980's, using strcpy() and
strncpy() rather than memcpy() was a common error.

Reply via email to