unknown seg fault after malloc

This is a discussion on unknown seg fault after malloc within the C Programming forums, part of the General Programming Boards category; does anyone have any idea why this gives a segmentation fault?
(and please tell me why)
Code:
char *cut(char *instr, ...