[Bf-committers] Blender 2.43 RC1

Alexander Ewering blender at instinctive.de
Mon Jan 8 19:52:26 CET 2007


On Mon, 8 Jan 2007, [ISO-8859-1] Giuseppe Ghibò wrote:

> the crash happens immediately at the beginning after opening the main window, 
> simply launching blender.

The current code definitely doesn't crash:

     sprintf(subvstr, "%4d", BLENDER_SUBVERSION);
     memcpy(fg.subvstr, subvstr, 4);

It does everything right:

- puts the version number into a temporary string which is big enough to
   hold the string terminator,
- memcopies the four relevant bytes to fg.subvstr, and exactly four.

So, there is no problem... what's the whole discussion about? ;)

| alexander ewering              instinctive mediaworks
| xx-mail.com/instinctive     http://www.instinctive.de


More information about the Bf-committers mailing list