Brat 2-5-3

From: Truls Martin Larsen (t.m.larsen@fys.uio.no)
Date: Tue Oct 01 2002 - 07:52:35 EDT

  • Next message: Flemming Videbaek: "Brat update - 2.5.4"

    Hi all,
    
    some minor but maybe important changes. Two possible array overflows:
    
    In BrDigtizeTPC::Event() method three arrays had the possibility to be 
    filled with more entries than the array size. The for loops were changed.
    
    In BrDetectorParmasBase::ReadASCIIFile() the variable system_param_file 
    was an Char_t[64] array which was a bitt to small to hold the entire 
    path to the BrDetectorParameters.txt Changed it to Char_t[256].
    
    Tagged brat since these were possible memory leaks (I guess it is better 
    to tag one time to often than one time to little...)
    
    They were both found using insure++
    
    Regards,
         Truls
    
    -- 
    *------------------------------*
    |http://folk.uio.no/truml    /
    |Truls Martin Larsen        / 
    |T.M.Larsen@fys.uio.no     .
    |University of Oslo       //
    |Department of Physics   / \0       
    |P.O.Box 1048 Blindern  /\_/
    |0316 Oslo, Norway     /  / 
    |Tel: +47 22854331    / -- 
    |                    /_/  |
    |Home address:      /     \
    |Eiksvn 58         |      '
    |1361 Østerås      |
    |Tel: +47 67155618 |
    |Mob: +47 99691838 |
    *------------------*
    



    This archive was generated by hypermail 2b30 : Tue Oct 01 2002 - 07:53:26 EDT