Issue 569 in webp: nullptr-after-nonzero-offset

瀏覽次數:35 次
跳到第一則未讀訊息

qq134… via monorail

未讀,
2022年5月5日 晚上10:15:402022/5/5
收件者:webp-d...@webmproject.org
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 569 by qq134...@outlook.com: nullptr-after-nonzero-offset
https://bugs.chromium.org/p/webp/issues/detail?id=569

What steps will reproduce the problem?
1.I call WebPEncodeRGB this API to try to encode an image
WebPEncodeRGB(input,width,height,1,1.0,output)
2.
3.

What is the expected output? What do you see instead?
nothing its crash .

What version of the product are you using? On what operating system?
main branch ,the version is v1.2.2, on ubuntu.

Please provide any additional information below.
call stack
#0 Import /home/ubuntu/ASOM/libwebp/src/enc/picture_csp_enc.c:747:30
#1 WebPPictureImportRGB /home/ubuntu/ASOM/libwebp/src/enc/picture_csp_enc.c:835:16
#2 Encode /home/ubuntu/ASOM/libwebp/src/enc/picture_enc.c:255:8
#3 WebPEncodeRGB /home/ubuntu/ASOM/libwebp/src/enc/picture_enc.c:272:1

Attachments:
case 12 bytes

--
You received this message because:
1. The project was configured to send all issue notifications to this address

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

vrab… via monorail

未讀,
2022年5月6日 凌晨4:08:322022/5/6
收件者:webp-d...@webmproject.org

Comment #1 on issue 569 by vra...@google.com: nullptr-after-nonzero-offset
https://bugs.chromium.org/p/webp/issues/detail?id=569#c1

Issue 570 has been merged into this issue.

vrab… via monorail

未讀,
2022年5月6日 凌晨4:08:412022/5/6
收件者:webp-d...@webmproject.org

Comment #2 on issue 569 by vra...@google.com: nullptr-after-nonzero-offset
https://bugs.chromium.org/p/webp/issues/detail?id=569#c2

Issue 571 has been merged into this issue.

vrab… via monorail

未讀,
2022年5月6日 凌晨4:09:452022/5/6
收件者:webp-d...@webmproject.org

Comment #3 on issue 569 by vra...@google.com: nullptr-after-nonzero-offset
https://bugs.chromium.org/p/webp/issues/detail?id=569#c3

The stride argument is how many bytes it takes to go from one row to the next. It should at least be 3*width in RGB or 4*width in RGBA. Not 1 as you set it.

Git Watcher via monorail

未讀,
2022年5月10日 晚上8:11:092022/5/10
收件者:webp-d...@webmproject.org

Comment #4 on issue 569 by Git Watcher: nullptr-after-nonzero-offset
https://bugs.chromium.org/p/webp/issues/detail?id=569#c4

The following revision refers to this bug:
https://chromium.googlesource.com/webm/libwebp/+/6c45cef7ff27d84330d2034b014716f75d76302e

commit 6c45cef7ff27d84330d2034b014716f75d76302e
Author: Vincent Rabaud <vra...@google.com>
Date: Tue May 10 08:18:46 2022

Make sure the stride has a minimum value in the importer.

Bug: webp:569
Change-Id: Ia48d064dbb10e7179ae3da04ca8d769d1c447276

[modify] https://crrev.com/6c45cef7ff27d84330d2034b014716f75d76302e/src/enc/picture_csp_enc.c

jz… via monorail

未讀,
2022年6月16日 下午2:23:352022/6/16
收件者:webp-d...@webmproject.org
Updates:
Labels: v1.2.3
Owner: vra...@google.com
Status: Fixed

Comment #5 on issue 569 by jz...@google.com: nullptr-after-nonzero-offset
https://bugs.chromium.org/p/webp/issues/detail?id=569#c5

(No comment was entered for this change.)
回覆所有人
回覆作者
轉寄
0 則新訊息