Changeset 1781


Ignore:
Timestamp:
Aug 9, 2010, 2:35:43 PM (11 years ago)
Author:
Sven Rech
Message:

fixed pointer bug in msieve stuff

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/QuadraticSieve/msieve/build.vc9/msieve.dll/wrapper.cpp

    r1695 r1781  
    328328                static IntPtr deserializeRelationPackage(array<unsigned char>^ relationPackage)
    329329                {
    330                         RelationPackage* y = (RelationPackage*)malloc(sizeof(relationPackage));
     330                        RelationPackage* y = (RelationPackage*)malloc(sizeof(RelationPackage));
    331331                        y->package_count = getIntFromArray(relationPackage, 0);
    332332                        y->package_array = (package_element*)malloc(sizeof(package_element)*y->package_count);
Note: See TracChangeset for help on using the changeset viewer.