Hey, guys,
I am absolutely new to C programming. Currently I am preparing for my new course of studies IT Security. In a slightly older exam I found a task where I have no approach how to solve it. The task is in German. In principle it is about finding critical errors.
It is not written how the passed parameters look like. I have come to the point that you should not use strcpy() because it has no bounds checking. Also char[10] should not be used if you want to store 10 characters (\0). Can someone help me a little bit? I would like to mention again that you help me here personally and do not help to collect bonus points in the university.
Thank you !