Description of problem: dos2unix command crashes on linux/alpha during compiling of Pyrex package The problem is in dos2unix-3.1-tmppath.patch. The function "MakeTempFileFrom" allocates memory for temporary file name short by 1 byte and sprintf puts zero byte into non-allocated memory: + fname_len = strlen(dir) + strlen("/d2utmpXXXXXX"); + if (!(fname_str = malloc(fname_len))) + goto make_failed; + sprintf(fname_str, "%s%s", dir, "/d2utmpXXXXXX"); I increased allocation by one byte ( malloc(fname_len+1) ) and problem went away. Version-Release number of selected component (if applicable): dos2unix-3.1-23 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Sounds like a dup of bug #150277