Re: [AD] Electricfence positive with 4.0.3-rc2 stretch_blit |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> #1 0x0807e2a3 in do_stretch_blit (source=0x40bfeca0, dest=0x40c11840,
> source_x=0, source_y=0, source_width=320, source_height=200, dest_x=0,
> dest_y=0, dest_width=640, dest_height=480, masked=0) at
> ./src/i386/istretch.c:423 423 _do_stretch(source, dest,
> _scratch_mem, sx>>16, sy, syd, (gdb) list
> 418 #endif /* ifdef GFX_MODEX */
> 419
> 420 COMPILER_RET();
> 421
> 422 /* call the stretcher */
> 423 _do_stretch(source, dest, _scratch_mem, sx>>16, sy, syd,
> 424 dest_x, dest_y, dest_height,
> dest->vtable->color_depth); 425
> 426 /* and store it in the cache */
> 427 stretcher_info[best].sx = sx;
The stretcher uses self-modifying code, that is we build code within scratch
memory. Could this possibly harm ElectricFence?
--
Eric Botcazou