Page MenuHomeSolus

Update duktape to 2.7.0 and cleanup package.yml

Authored by aleksvor on Mar 20 2022, 11:00 AM.




  • Fix memory unsafe behavior when valstack size limit hit in call setup.
  • Fix a realloc() memory leak triggered when (1) previous allocation exists, (2) new realloc size is 0, (3) GC is triggered before first realloc() attempt.
  • Fix DUK_USE_GET_RANDOM_DOUBLE() argument handling.
  • Dist makefile and pkg-config improvements.
Test Plan

Rebuilt and tested openrct2 against this version.

Diff Detail

R5062 duktape
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

aleksvor created this revision.Mar 20 2022, 11:00 AM
aleksvor requested review of this revision.Mar 20 2022, 11:00 AM
Girtablulu accepted this revision.Mar 20 2022, 2:21 PM
Girtablulu added a subscriber: Girtablulu.

LGTM. thx

This revision is now accepted and ready to land.Mar 20 2022, 2:21 PM
This revision was automatically updated to reflect the committed changes.