You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: styno[at]hotmail.com [Submitted to the original trac issue database at 11.47am, Monday, 24th August 2009]
Gosmore crashes while rebuilding a database using an Eurasia split made with Osmosis. This happens when two elements which contain some id (don't know what) get concatenated using sprintf. One of the id's gets too big and a buffer overflow occurs.
The error occurs on line 1266:
char str[21];
sprintf (str, "%d %d", member[0], member[1]);
The error can be prevented when the str variable is declared with 22 bytes heap space.
The text was updated successfully, but these errors were encountered:
Reporter: styno[at]hotmail.com
[Submitted to the original trac issue database at 11.47am, Monday, 24th August 2009]
Gosmore crashes while rebuilding a database using an Eurasia split made with Osmosis. This happens when two elements which contain some id (don't know what) get concatenated using sprintf. One of the id's gets too big and a buffer overflow occurs.
The error occurs on line 1266:
char str[21];
sprintf (str, "%d %d", member[0], member[1]);
The error can be prevented when the str variable is declared with 22 bytes heap space.
The text was updated successfully, but these errors were encountered: