Re: AW: [Exim] buffer overflow?
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Aquest missatge és part del següent fil:
l'arbre de fils complet ordenat per data
Hirling Endre en
2001-06-18 15:48
Jens Steube en
2001-06-18 15:52
Autor:
Tim Waugh
Data:
2001-06-18 15:50
UTC
A:
Hirling Endre
CC:
exim-users
Assumpte:
Re: AW: [Exim] buffer overflow?
On Mon, Jun 18, 2001 at 05:38:09PM +0200, Hirling Endre wrote:
> +static char* prepared_address;
[...]
> + prepared_address = (char*)malloc(hossz+1);
[...]
> + return prepared_address;
[...]
Now you have a memory leak, and a missing out-of-memory check.
Tim.
*/