Mercurial > mplayer.hg
view my_profile.c @ 7352:757e876d36fe
Off-by-one error allocating bitmap, when (width*height) % 8 != 0
The code was writing beyond allocated memory, and could corrupt malloc heap.
author | jkeil |
---|---|
date | Tue, 10 Sep 2002 12:38:19 +0000 |
parents | b7d3b450f8fd |
children |
line wrap: on
line source
/* * my_profile.c * * Copyright (C) Nick Kurshev <nickols_k@mail.ru> - Oct 2001 * * You can redistribute this file under terms and conditions * of GNU General Public licence v2. */ #include "my_profile.h" volatile unsigned long long int my_profile_start,my_profile_end,my_profile_total;