[PATCH] Core: ngx_palloc after alignment boundary check
Maxim Dounin
mdounin at mdounin.ru
Tue Mar 8 23:16:25 UTC 2016
Hello!
On Tue, Mar 08, 2016 at 03:13:35PM -0800, tolga ceylan wrote:
> # HG changeset patch
> # User Tolga Ceylan <tolga.ceylan at gmail.com>
> # Date 1457477267 28800
> # Tue Mar 08 14:47:47 2016 -0800
> # Node ID 44c90f64f3eec25cdf2e5bee13419cb71e9cdf93
> # Parent c5f81dcf97a79576138917501c9a6cc6f53ee930
> Core: ngx_palloc after alignment boundary check
>
> Alignment macro can move the current pointer beyond
> the current pool boundary. Additional check is needed
> to ensure within range.
No, it can't, see https://trac.nginx.org/nginx/ticket/686.
--
Maxim Dounin
http://nginx.org/
More information about the nginx-devel
mailing list