[openssl/technical-policies] 8e0737: policies/coding-style.md: replace OPENSSL_malloc w...

1 view
Skip to first unread message

esyr

unread,
Jun 25, 2026, 5:34:24 AMJun 25
to openssl...@openssl.org
Branch: refs/heads/master
Home: https://github.com/openssl/technical-policies
Commit: 8e073798295c8c036977a06709ee7141574fab54
https://github.com/openssl/technical-policies/commit/8e073798295c8c036977a06709ee7141574fab54
Author: Eugene Syromiatnikov <es...@openssl.org>
Date: 2026-06-25 (Thu, 25 Jun 2026)

Changed paths:
M policies/coding-style.md

Log Message:
-----------
policies/coding-style.md: replace OPENSSL_malloc with OPENSSL_alloc_array

[1] has introduced array allocation routines, and, since those
are available, it is prudent to use where they are appropriate,
like in this example.

[1] https://github.com/openssl/openssl/pull/28059

Signed-off-by: Eugene Syromiatnikov <es...@openssl.org>

Reviewed-by: Richard Levitte <lev...@openssl.org>
Reviewed-by: Kurt Roeckx <ku...@roeckx.be>
Reviewed-by: Matt Caswell <ma...@openssl.foundation>
Reviewed-by: Paul Dale <paul...@oracle.com>
Reviewed-by: Tomas Mraz <to...@openssl.foundation>
MergeDate: Thu Jun 25 09:33:48 2026


Commit: db733e9662566708ee9be3df24eb6ae5b3489d3a
https://github.com/openssl/technical-policies/commit/db733e9662566708ee9be3df24eb6ae5b3489d3a
Author: Eugene Syromiatnikov <es...@openssl.org>
Date: 2026-06-25 (Thu, 25 Jun 2026)

Changed paths:
M policies/coding-style.md

Log Message:
-----------
policies/coding-style.md: mention new memory allocation APIs

Mention aligned, clear, and array allocation routines.

Signed-off-by: Eugene Syromiatnikov <es...@openssl.org>

Reviewed-by: Richard Levitte <lev...@openssl.org>
Reviewed-by: Kurt Roeckx <ku...@roeckx.be>
Reviewed-by: Matt Caswell <ma...@openssl.foundation>
Reviewed-by: Paul Dale <paul...@oracle.com>
Reviewed-by: Tomas Mraz <to...@openssl.foundation>
MergeDate: Thu Jun 25 09:33:36 2026


Compare: https://github.com/openssl/technical-policies/compare/4c83437214c9...db733e966256

To unsubscribe from these emails, change your notification settings at https://github.com/openssl/technical-policies/settings/notifications
Reply all
Reply to author
Forward
0 new messages