Closed Amoystyle closed 3 years ago
case PLIST_DATE: tag = XPLIST_DATE; tag_len = XPLIST_DATE_LEN; { Time64_T timev = (Time64_T)node_data->realval + MAC_EPOCH; struct TM _btime; struct TM *btime = gmtime64_r(&timev, &_btime); if (btime) { val = (char*)calloc(1, 24); struct tm _tmcopy; copy_TM64_to_tm(btime, &_tmcopy); val_len = strftime(val, 24, "%Y-%m-%dT%H:%M:%SZ", &_tmcopy); <-------- if (val_len <= 0) { free (val); val = NULL; } } } break;
Parsing crash com.apple.Bluetooth.plist.zip
Parsing crash com.apple.Bluetooth.plist.zip