[cvsnt-dev] Crasch in cvsapi/CCodepage::TranscodeBuffer()

Richard Wirth r.wirth at wirthware.de
Mon Jan 17 11:01:29 GMT 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hello Tony,

  there is a potential crash in cvsapi/Codepage.cpp lin 418

  "if((ic = iconv_open(to,from))<0)" ic is declared as iconv_t which
  in turn is a pointer. And pointers can not get less than zero...
  so the if-condition will never get true, and subsequent calls to
  iconv() with invalid ic will crash...
  
  

-- 
Best regards,
 Richard                          mailto:r.wirth at wirthware.de



More information about the cvsnt-dev mailing list