3 ms·
C is not a safe language sort of by definition, so you always have to consider all the possibilities. For example, you use sscanf in places, with fixed sized bu
by axoltl 11y ago
C is not a safe language sort of by definition, so you always have to consider all the possibilities. For example, you use sscanf in places, with fixed sized buffers. What happens if someone were to pass a lot of data into your program? What happens if the on-disk structure gets corrupted and a 'type' becomes more than 5 characters?