[Freeassociation-devel] Trunk seems unstable

IGnatius T Foobar room_freeassociation-devel at uncensored.citadel.org
Tue Oct 21 12:20:50 PDT 2008


 >Attached is a 1-line patch that stops the crash.   
 >No idea if it is the correct fix.   
 >Please review and let me know if I should commit.   
   
 That'll stop the crash but it'll probably also leak memory.  
   
 Ok, so we're calling icalvalue_as_ical_string_r() which is a 
serialization function that's built as an aggregate for a bunch of other 
serialization functions.  It's entirely possible that *one* (or more) of 
those other functions is prematurely freeing its buffer.  
   
 Any chance you could post a copy of the actual calendar item you're 
working with?  
   
   -- Art  
  




More information about the libical-devel mailing list