OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Fixed crash in UnitTexture, when external texture has no image.


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPPU [osgPPU]
View previous topic :: View next topic  
Author Message
airion
User


Joined: 11 Aug 2010
Posts: 31

PostPosted: Thu Nov 17, 2011 9:06 am    Post subject:
Fixed crash in UnitTexture, when external texture has no image.
Reply with quote

Please find attached fix. It fixes a null pointer dereferencing in UnitTexture::setTexture(), when tex has no image, yet.

Regards,
--Alex
Back to top
View user's profile Send private message
art (Art Tevs)
Site Admin


Joined: 20 Dec 2008
Posts: 414
Location: Saarbr├╝cken, Germany

PostPosted: Thu Nov 17, 2011 10:16 pm    Post subject:
Re: Fixed crash in UnitTexture, when external texture has no image.
Reply with quote

Hi Alex,

thanks, I've patched the file.

art

airion wrote:
Please find attached fix. It fixes a null pointer dereferencing in UnitTexture::setTexture(), when tex has no image, yet.

Regards,
--Alex
Back to top
View user's profile Send private message Visit poster's website
gena22
Newbie


Joined: 21 Nov 2011
Posts: 2

PostPosted: Tue Nov 22, 2011 5:18 am    Post subject:
Reply with quote

Thank you!
Back to top
View user's profile Send private message
gena22
Newbie


Joined: 21 Nov 2011
Posts: 2

PostPosted: Wed Jan 04, 2012 11:47 am    Post subject:
Fixed crash in UnitTexture, when external texture has no image.
Reply with quote

Thank you!

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43990#43990







------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPPU [osgPPU] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts osg::Text::setBackdropType crash with... Carlo Lanzotti - DynaD... General 2 Wed Sep 20, 2017 2:40 pm View latest post
No new posts obj plugin does not support diffuse a... Ralf Habacker General 1 Tue Sep 19, 2017 6:21 am View latest post
No new posts Fix for osg::Program crash Colin McDonald Submission 0 Mon Sep 11, 2017 4:43 pm View latest post
No new posts osg::Program::isFixedFunction() shoul... Mathieu Submission 1 Mon Aug 28, 2017 8:49 am View latest post
No new posts OpenSceneGraph static linking for And... tanshihaj Build system [build] 1 Sun Aug 13, 2017 10:09 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP