====================================================== 
Name: CVE-1999-0004 
Status: Candidate 
URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-1999-0004 
Phase: Modified (19990621-01) 
Category: SF 
Reference: CERT:CA-98.10.mime_buffer_overflows 
Reference: XF:outlook-long-name 
Reference: SUN:00175 
Reference: MS:MS98-008 
Reference: URL:http://www.microsoft.com/technet/security/bulletin/ms98-008.asp MIME buffer overflow in email clients, e.g. Solaris mailtool 
and Outlook. 
Current Votes: 
   ACCEPT(8) Magdych, Northcutt, Wall, Baker, Landfield, Cole, Dik, Collins 
   MODIFY(1) Frech 
   NOOP(1) Christey 
   REVIEWING(1) Shostack Voter Comments: 
 Frech> Extremely minor, but I believe e-mail is the correct term. (If you reject 
   this suggestion, I will not be devastated.) :-) 
 Christey> This issue seems to have been rediscovered in 
   BUGTRAQ:20000515 Eudora Pro & Outlook Overflow - too long filenames again 
   http://marc.theaimsgroup.com/?l=bugtraq&m=95842482413076&w=2 
    
   Also see 
   BUGTRAQ:19990320 Eudora Attachment Buffer Overflow 
   http://marc.theaimsgroup.com/?l=bugtraq&m=92195396912110&w=2 
 Christey>  
   CVE-2000-0415 may be a later rediscovery of this problem 
   for Outlook. 
 Dik> Sun bug 4163471, 
 Christey> ADDREF BID:125 
 Christey> BUGTRAQ:19980730 Long Filenames & Lotus Products 
   URL:http://marc.theaimsgroup.com/?l=bugtraq&m=90221104526201&w=2 
====================================================== 
Name: CVE-1999-0005 
Status: Entry 
Reference: CERT:CA-98.09.imapd 
Reference: SUN:00177 
Reference: URL:http://sunsolve.sun.com/pub-cgi/retrieve.pl?doctype=coll&doc=secbull/177 
Reference: BID:130 
Reference: URL:http://www.securityfocus.com/bid/130 
Reference: XF:imap-authenticate-bo Arbitrary command execution via IMAP buffer overflow in authenticate 
command. 

解决方案 »

  1.   

    要求:去掉连等号,每行第一个冒号之前的为字段共7个字段:name,status,url,phase,
    category,reference,dis.其中相同的referende为一个字段,没有表明字段的所有内容
    (最后一个reference一下的内容)去掉多余的回车,全部都归到dis字段里不知如何导入到mysql数据库中呢?或者大家可以帮我写个操作文本文件的程序也可以
      

  2.   

    我在处理文本的时候,一般采用对源字符串逐步减少的方法进行处理,处理到最后,字符串就没有了,可以在处理的时候加循环
    String str = "";
    while(str.indexOf("Name:")>=0){
        int istart = str.indexOf("Name:");//获得Name:的位置
        str = str.subString(istart);//取从Name开始的字符串
        int iend = str.indexOf("\n");//获取Name:开始后,第一个换行的位置
        String name = str.subString(str.(iend));//取出Name的等信息,下面自行转换即可    str = str.subString(iend+1);//继续处理剩余的字符串    ...//下面按照上面的方式处理其他标签即可
         String sql = ""://自己写的SQL
         connect.createStatement().executeUpdate(sql);
    }
    PreparedStatement stmt = null;
        stmt.setByte(x, x)
      

  3.   

    看贴:http://topic.csdn.net/u/20080316/00/455378aa-26ef-4c32-bbef-44f068b02def.html?seed=815496380