[Citadel Development] Re: Citadel commit log: revision 8375

2010-03-02 Thread IGnatius T Foobar
 >let me take an educated guess... It fails to output a \0 if there is 
  >a string without newline?  
  > 
  >so  "aoeu\0aoeu" wouldtrigger the issue? 
  
  That sounds about right.  We are definitely giving it strings without a 
trailing
newline.
 


[Citadel Development] Re: Citadel commit log: revision 8375

2010-03-02 Thread dothebart


 

Mo Mär 01 2010 23:58:54 EST von   IGnatius T Foobar @ Uncensored  Betreff: Re: Citadel commit log: revision 8375


When pidgin sends to webcit the message is slightly corrupted Seems the last  char is dropped and probably the terminating NUL too.
I have identified this as a bug in memfmout().  When I use cprintf() it goes away. 


ok, since i've touched that last...
let me take an educated guess... It fails to output a \0 if there is a string without newline?
so  "aoeu\0aoeu" wouldtrigger the issue?




[Citadel Development] Re: Citadel commit log: revision 8375

2010-03-01 Thread IGnatius T Foobar
 >When pidgin sends to webcit the message is slightly corrupted. Seems the last 
  >char is dropped and probably the terminating NUL too.   
  
  I have identified this as a bug in memfmout().  When I use cprintf() it goes
away.