From: Eero P. <epa...@gm...> - 2011-06-08 09:15:55
|
On the Freeglut bugtracker there is a bug report for strdup with NULL parameter. http://sourceforge.net/tracker/?func=detail&aid=3308789&group_id=1032&atid=101032 (Thanks for Diederick for pointing this for me) I am the guilty person, because I have submitted this line as part of my multidisplay patch. Apparently it just happens to work on Windows/Microsoft tools, and so was not noticed. I suggest applying the attached patch. (The person who submitted the bug report had a different patch, but this is more in line with existing code, and I think the submitters patch gave an warning in "normal" case) Eero |