Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Fix NULL pointer dereference am: 6e988ba am: 3735317 am: 490dd17 am: c…
Browse files Browse the repository at this point in the history
…96ae64 am: e26d11f am: 9f57b2d

am: 115c5d3

Change-Id: I6913df8a07f4028630f668686870eb40e339b640
  • Loading branch information
marcone authored and android-build-merger committed Jul 13, 2016
2 parents 6292554 + 115c5d3 commit 7881d83
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arm-wt-22k/lib_src/eas_mdls.c
Expand Up @@ -683,8 +683,10 @@ EAS_RESULT DLSParser (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle,
}

/* create the default articulation */
Convert_art(&dls, &defaultArt, 0);
dls.artCount = 1;
if (dls.pDLS) {
Convert_art(&dls, &defaultArt, 0);
dls.artCount = 1;
}

/* parse the lins chunk and load instruments */
dls.regionCount = dls.instCount = 0;
Expand Down

0 comments on commit 7881d83

Please sign in to comment.