DO NOT MERGE
Fix security vulnerability in pre-O rild code.

Remove wrong code for setup_data_call.
Add check for max address for RIL_DIAL.

Bug: 37896655
Test: Manual.
Change-Id: I05c027140ae828a2653794fcdd94e1b1a130941b
(cherry picked from commit dda24c6557911aa1f4708abbd6b2f20f0e205b9e)

static void freeDebugCallbackArgs(int number, char **args) {
 for (int i = 0; i < number; i++) {
 if (args[i] != NULL) {
            free(args[i]);
 }
 }
    free(args);
}

static void freeDebugCallbackArgs(int number, char **args) {
 for (int i = 0; i < number; i++) {
 if (args[i] != NULL) {
            free(args[i]);
 }
 }
    free(args);
}
