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 EXTERNAL: Forum Cary, Karl A. General 1 Wed Jul 12, 2017 3:28 pm View latest post
No new posts Render to texture with GL3. Raizel General 3 Tue May 23, 2017 10:33 am View latest post
No new posts Crash on Windows 10 with a Display Li... efson General 2 Thu Apr 27, 2017 9:03 am View latest post
No new posts OSG crash on startup guyv General 3 Wed Apr 26, 2017 5:07 pm View latest post
No new posts How to replace the texture data in th... xdfanfan General 1 Wed Apr 05, 2017 12:44 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