guardianproject / guardianproject/PixelKnot

App crashes when decoding image sent via telegram

Open
#9 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
226
Forks
65
PR merge metrics
No merged PRs in 30d

Description

Hi
Pixelknot crashes when trying to decrypt message from photo sent from a nexus 5 to a Huawei Ascent P7 via telegrams private chat.

Reason is an ArrayIndexOutOfBoundsException thrown by method DECODE in info.guardianproject.f5android.plugins.f5.ortega.HuffmanDecode (line 411).

Also, whats the proper way to send you guys Crashreports? Will you get them when I click "send report" in the popup that opens when an app crashes?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in info.guardianproject.f5android.plugins.f5.ortega.HuffmanDecode, at the DECODE method near line 411, and reproduce the crash with a photo sent through Telegram private chat. Trace the ArrayIndexOutOfBoundsException and verify that the received image can be decrypted without crashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.