wine/dlls/jscript
Eric Pouech 4bdf92cb7f jscript: Fix GCC 12.2 warning.
When initializing a jsstr_inline_t with a len < 3, the size passed
for the allocation is smaller then the size of the structure
(as the later is rounded up to the alignment = 4 bytes).

GCC 12.2 complains about this when dereferencing the pointer to
the structure as the size passed for allocation is smaller than the
size of the structure.

The warning is fixed by using flexible array member in
jsstr_inline_t. Given the rounding behavior in memory allocation, this
should not change the size of allocated blocks.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-19 20:10:36 +02:00
..
tests jscript: Implement fdexNameCaseInsensitive flag handling. 2022-08-17 19:21:00 +02:00
activex.c jscript: Handle NULL return pointers in all constructors. 2022-04-14 23:45:29 +02:00
array.c jscript: Implement Array.prototype.lastIndexOf. 2022-05-03 20:25:25 +02:00
bool.c jscript: Handle NULL return pointers in all constructors. 2022-04-14 23:45:29 +02:00
cc_parser.y
compile.c
date.c jscript: Handle NULL return pointers in all constructors. 2022-04-14 23:45:29 +02:00
decode.c
dispex.c jscript: Implement fdexNameCaseInsensitive flag handling. 2022-08-17 19:21:00 +02:00
engine.c jscript: Handle detached scope objects 'this' in all calls. 2022-05-16 22:10:15 +02:00
engine.h
enumerator.c jscript: Handle NULL return pointers in all constructors. 2022-04-14 23:45:29 +02:00
error.c
function.c jscript: Don't allow construction on builtin methods. 2022-06-03 21:55:17 +02:00
global.c
jscript.c jscript: Return ParseProcedureText when compile fails. 2022-07-20 22:33:44 +02:00
jscript.h jscript: Release all globals when the script is uninitialized. 2022-06-03 21:55:17 +02:00
jscript.rc jscript: Return proper error in Number.toLocaleString with invalid 'this' in ES5 mode. 2022-05-03 20:24:18 +02:00
jscript.rgs
jscript.spec
jscript_classes.idl
jscript_main.c
jsglobal.idl
jsglobal_dispid.h
json.c
jsregexp.c
jsstr.c
jsstr.h jscript: Fix GCC 12.2 warning. 2022-09-19 20:10:36 +02:00
jsutils.c jscript: Forward actual error in to_primitive if it's not just missing prop. 2022-06-03 21:55:17 +02:00
jsval.h jscript: Treat NULL disps as actual null values in html mode. 2022-04-12 22:13:05 +02:00
lex.c
Makefile.in
math.c
number.c jscript: Return proper error in Number.toLocaleString with invalid 'this' in ES5 mode. 2022-05-03 20:24:18 +02:00
object.c
parser.h
parser.y
regexp.c
regexp.h
resource.h jscript: Return proper error in Number.toLocaleString with invalid 'this' in ES5 mode. 2022-05-03 20:24:18 +02:00
set.c jscript: Correctly handle deleted entries in iterate_map. 2022-06-07 19:37:11 +02:00
string.c jscript: Initialize hres in String constructor. 2022-04-15 20:55:55 +02:00
vbarray.c jscript: Handle NULL return pointers in all constructors. 2022-04-14 23:45:29 +02:00