Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix a stack corruption when xbt_dynar_remove_at was used with object larger than...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 6 Jul 2006 01:48:07 +0000 (01:48 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 6 Jul 2006 01:48:07 +0000 (01:48 +0000)
commitce0eed6c0ae76da99731d8cbc85a45103b3c741d
treea7379ffcf46435b26918351a7b7f883591fd3cd3
parentc2e890e94a25ba9894686a94d8f5f34425599541
Fix a stack corruption when xbt_dynar_remove_at was used with object larger than 8bytes. It was the case in gras_procdata_exit: we had a by 4 overflow. This leaded to segfault when using optimization on gcc 4.x since %ebx is stored right after our data in that case. YEAH, it works on gcc 4.x now. I would never have found this without Vince, thanks so much

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2489 48e7efb5-ca39-0410-a469-dd3cf9ba447f
src/xbt/dynar.c