Skip to content

A Crash Issue . #126

@YYYSSSHHH

Description

@YYYSSSHHH

Environment Info:

APK Version: 0.77 (77)
AndroidOS Version = 6.0.1

Description information:

We find that mobile apps are prone to crashes due to a network issue, mainly because successful network API calls return unexpected or no data.
And we found that when this app's network returned data is null ,or the network request fails (status code is 404/503) the app has crashed.

How do we test the APP?

We use the fuzzing method to simulate the network response data. For example, when the app receives network API response data from server or network, we will replace it with 404, null and random data.

crash information:

crashActivity=com.greenaddress.abcore.MainActivity

: fuzzData:BE206A257090E25FC284A04B15AF38AF-><f.a.a.c: java.lang.Object a(java.lang.String,java.lang.Object[])>->NULL->application/json->

java.lang.IllegalArgumentException
at f.a.b.b.a(:23)
at f.a.b.b.a()
at f.a.a.c.a(:1)
at f.a.a.c.a(:4)
at com.greenaddress.abcore.RPCIntentService.onHandleIntent(:3)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)

Finally:

The cause of the program crash may be that the network response data is not handled properly in the code, such as null
If you have confirmed or fixed this problem, please give me a reply, thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions