Comment 5 for bug 318812

Revision history for this message
pemehe (pemehe-googlemail) wrote :

The bug is with the size of the 'number' strings defined at w_rulers.c:1169 and w_rulers.c:1428.
These strings store the numbers and units that appear on the rulers. If you zoom out enough you will get something like '-1000cm' which is 7 characters long. The strings only store 6. Therefore the size of those strings must be raised to at least 8 and to prevent further problems sprintf should be replaced with snprintf if complete ANSI compliance is not a primary concern.
If the package maintainer could do this it would be great.