Welcome to iraf.net Thursday, May 02 2024 @ 02:29 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 memory corruption in xyxymatch
   
Anonymous:
 07/05/2010 08:03AM (Read 1245 times)  



A colleague has stumbled upon a bug in xyxymatch. When nrefstars==3, nrmaxtri (which is used in computing the allocation size for reftri) ends up being equal to 1. Later, rg_tvote() (called via rg_match()) assigns values to reftri(2,RG_MATCH) and reftri(3,RG_MATCH) which are out of bounds.I suggest the following changes to the code:

 
 Quote
fitz
 07/05/2010 08:03AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Thanks for the detailed tracking of the problem. We'll have a closer look and fix this for the next release of the system. I'll post again if we have questions and will post the buglog once it's fixed.Thanks again,
--Mike

 
Profile Email
 Quote
   
Content generated in: 0.08 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login