[ImgBot] Optimize images#7
Open
imgbot[bot] wants to merge 1 commit into
Open
Conversation
*Total -- 1,326.51kb -> 1,042.10kb (21.44%) /deps/v8/tools/turbolizer/img/toggle-hide-dead-icon.png -- 3.64kb -> 1.10kb (69.79%) /deps/uv/img/banner.png -- 43.07kb -> 17.56kb (59.24%) /doc/first_timer_badge.png -- 1.50kb -> 0.75kb (49.84%) /deps/v8/benchmarks/v8-logo.png -- 23.72kb -> 12.28kb (48.25%) /deps/v8/tools/turbolizer/right-arrow.png -- 2.71kb -> 1.42kb (47.76%) /deps/v8/tools/turbolizer/img/zoom-selection-icon.png -- 3.66kb -> 1.97kb (46.31%) /deps/v8/tools/turbolizer/upload-icon.png -- 4.64kb -> 2.56kb (44.81%) /deps/v8/tools/turbolizer/img/hide-unselected-icon.png -- 3.61kb -> 2.11kb (41.69%) /deps/v8/tools/turbolizer/img/hide-selected-icon.png -- 3.59kb -> 2.14kb (40.59%) /doc/guides/doc_img/compare-boxplot.png -- 260.39kb -> 159.39kb (38.79%) /deps/uv/docs/src/static/architecture.png -- 201.92kb -> 142.89kb (29.24%) /deps/uv/docs/src/static/loop_iteration.png -- 78.64kb -> 55.91kb (28.9%) /deps/uv/docs/src/static/diagrams.key/preview-micro.jpg -- 1.39kb -> 1.06kb (24.14%) /deps/npm/node_modules/qrcode-terminal/example/basic.png -- 45.34kb -> 35.05kb (22.69%) /deps/v8/tools/turbolizer/search2.png -- 0.67kb -> 0.53kb (21.92%) /deps/v8/tools/turbolizer/img/layout-icon.png -- 4.47kb -> 3.49kb (21.89%) /deps/v8/tools/turbolizer/left-arrow.png -- 4.08kb -> 3.21kb (21.25%) /deps/v8/tools/turbolizer/turbolizer.png -- 77.42kb -> 64.23kb (17.04%) /deps/v8/tools/turbolizer/img/show-control-icon.png -- 5.61kb -> 4.75kb (15.39%) /deps/uv/docs/src/static/diagrams.key/preview.jpg -- 104.94kb -> 91.93kb (12.4%) /deps/v8/tools/turbolizer/img/toggle-types-icon.png -- 0.74kb -> 0.66kb (10.49%) /deps/uv/docs/src/static/diagrams.key/preview-web.jpg -- 7.92kb -> 7.11kb (10.23%) /deps/uv/docs/src/static/diagrams.key/Data/st0-311.jpg -- 18.88kb -> 17.01kb (9.89%) /deps/uv/docs/src/static/diagrams.key/Data/st1-475.jpg -- 12.36kb -> 11.18kb (9.55%) /deps/uv/img/logos.svg -- 63.64kb -> 60.88kb (4.35%) /doc/guides/doc_img/scatter-plot.png -- 166.80kb -> 162.95kb (2.31%) /test/fixtures/person.jpg -- 44.59kb -> 43.56kb (2.3%) /test/fixtures/person-large.jpg -- 136.56kb -> 134.45kb (1.54%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
This was referenced Nov 26, 2023
This was referenced Dec 19, 2023
This was referenced May 14, 2024
pull Bot
pushed a commit
that referenced
this pull request
Jun 2, 2026
This function call can fail with `Z_VERSION_ERROR` if the compiled
library vs loaded library mismatched in version number or in
stream structure size.
In those cases, zlib doesn't initialize the `strm_.msg` field to
null. Therefore, when a `CompressionError` object is created via
`ErrorForMessage()`, it can read a stale or uninitialized `strm_.msg`
pointer that will cause a crash.
Example ASAN report:
```
AddressSanitizer: SEGV on unknown address
#0 __strlen_avx2
string/../sysdeps/x86_64/multiarch/strlen-avx2.S:76
#1 strlen (/work/node/out/Debug/node+0x1a42ab7)
#2 v8::(anonymous namespace)::StringLength(char const*)
/work/node/out/../deps/v8/src/api/api.cc:7581:16
#3 v8::(anonymous namespace)::StringLength(unsigned char const*)
/work/node/out/../deps/v8/src/api/api.cc:7587:10
#4 v8::String::NewFromOneByte(v8::Isolate*,
unsigned char const*, v8::NewStringType, int)
/work/node/out/../deps/v8/src/api/api.cc:7677:3
#5 node::OneByteString(v8::Isolate*,
char const*, int, v8::NewStringType)
/work/node/out/../src/util-inl.h:166:10
#6 node::(anonymous namespace)::CompressionStream<
node::(anonymous namespace)::ZlibContext>
::EmitError(node::(anonymous namespace)
::CompressionError const&)
/work/node/out/../src/node_zlib.cc:565:7
#7 node::(anonymous namespace)::CompressionStream<
node::(anonymous namespace)::ZlibContext>
::CheckError()
/work/node/out/../src/node_zlib.cc:519:5
#8 node::(anonymous namespace)::CompressionStream<
node::(anonymous namespace)::ZlibContext>
::AfterThreadPoolWork(int)
/work/node/out/../src/node_zlib.cc:543:10
#9 node::ThreadPoolWork::ScheduleWork()
::'lambda'(uv_work_s*, int)
::operator()(uv_work_s*, int) const
/work/node/out/../src/threadpoolwork-inl.h:57:15
#10 node::ThreadPoolWork::ScheduleWork()
::'lambda'(uv_work_s*, int)
::__invoke(uv_work_s*, int)
/work/node/out/../src/threadpoolwork-inl.h:48:7
#11 uv__work_done /work/libuv-1.51.0/src/threadpool.c:330:5
#12 uv__async_io.part.0
/work/libuv-1.51.0/src/unix/async.c:208:5
```
Signed-off-by: ndossche <nora.dossche@ugent.be>
PR-URL: nodejs#63476
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Beep boop. Your images are optimized!
Your image file size has been reduced by 21% 🎉
Details
📝docs |
repo | 🙋issues | 🏅swag | 🏪marketplace