~ubuntu-branches/ubuntu/vivid/trousers/vivid

« back to all changes in this revision

Viewing changes to src/tspi/tspi_dir.c

  • Committer: Package Import Robot
  • Author(s): Pierre Chifflier
  • Date: 2012-11-10 17:04:44 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20121110170444-yvoa372npyp02mwr
Tags: 0.3.10-1
* Imported Upstream version 0.3.10
* Update symbols file
* Force build of tools

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        TCPA_DIRVALUE dirValue = { { 0 } };
37
37
        Trspi_HashCtx hashCtx;
38
38
 
39
 
        if (rgbDirData == NULL && ulDirDataLength != 0)
 
39
        if (rgbDirData == NULL || ulDirDataLength == 0)
40
40
                return TSPERR(TSS_E_BAD_PARAMETER);
41
41
 
42
42
        if (ulDirDataLength > (UINT32)sizeof(TCPA_DIRVALUE))