--------------Boundary-00=_IAFJVO6NXEOYTUYJTMMK Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit The C program here is giving out "Hello world" while running in Rethat Linux 7.2 . It is compiled with ''gcc". WHY NO CORE DUMP??? I have malloc only one byte. Please explain me. Kvimol --------------Boundary-00=_IAFJVO6NXEOYTUYJTMMK Content-Type: text/x-c; charset="iso-8859-1"; name="strcat.c" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="strcat.c" I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCnZvaWQKbXlfc3RyY2F0KGNo YXIgKmRlc3QsIGNvbnN0IGNoYXIgKnNyYykKewogICAgICAgIHdoaWxlKCAqZGVzdCsrICk7CiAg ICAgICAgZGVzdC0tOwoKICAgICAgICB3aGlsZSggKmRlc3QrKyA9ICpzcmMrKyApOwogICAgICAg ICpkZXN0PTA7Cn0KY2hhciAqCm15X3N0cmNweShjaGFyICpkZXN0LCBjb25zdCBjaGFyICpzcmMp CnsKICAgICAgIGludCBpPTA7CiAgICAgICB3aGlsZSAoKnNyYyl7CiAgICAgICAgICAgICBkZXN0 W2krK10gPSAqc3JjKys7CiAgICAgICB9CiAgICAgICBkZXN0W2ldPTA7Cn0KaW50Cm1haW4oKQp7 CiAgICAgIGNoYXIgKnM9bWFsbG9jKDEpOwoKICAgICAgbXlfc3RyY3B5KHMsIkhlbGxvIik7CiAg ICAgIAogICAgICBteV9zdHJjYXQocywiIHdvcmxkIik7CgogICAgICBwcmludGYoIiVzXG4iLHMp OwoKICAgICAgZnJlZShzKTsKCiAgICAgIHJldHVybiAwOwp9Cg== --------------Boundary-00=_IAFJVO6NXEOYTUYJTMMK--