Permalink
Switch branches/tags
Nothing to show
Commits on Jan 20, 2015
  1. Merge pull request #8 from yannayl/patch-1

    yrashk committed Jan 20, 2015
    Fixed syntax error in prepare.sh
  2. Fixed syntax error in prepare.sh

    yannayl committed Jan 20, 2015
    Boolean operator '==' does not exist in sh scripts (introduced in it's derivatives).
    replaced with '='.
Commits on Mar 27, 2014
  1. Create LICENSE

    yrashk committed Mar 27, 2014
Commits on Nov 3, 2013
  1. Don't use tar xzvfp but xzvf

    yrashk committed Nov 3, 2013
Commits on Oct 1, 2012
  1. Add expm package

    yrashk committed Oct 1, 2012
Commits on Sep 25, 2012
  1. Updates rebar

    Yurii Rashkovskii
    Yurii Rashkovskii committed Sep 25, 2012
Commits on Jul 13, 2012
  1. Updates rebar

    yrashk committed Jul 13, 2012
Commits on May 1, 2012
  1. Adds an empty upgrade handler to ossp_uuid NIF

    Yurii Rashkovskii
    Yurii Rashkovskii committed May 1, 2012
Commits on Apr 27, 2012
  1. Merge pull request #6 from yrashk/port-env

    yrashk committed Apr 27, 2012
    Use port_env instead of port_envs in ossp_uuid's rebar.config
Commits on Apr 16, 2012
  1. Use port_env instead of port_envs in ossp_uuid's rebar.config

    Yurii Rashkovskii
    Yurii Rashkovskii committed Apr 16, 2012
Commits on Sep 8, 2011
  1. Merge pull request #5 from sbalea/master

    yrashk committed Sep 8, 2011
    Fix architecture mismatch when linking native code on OSX 10.6
Commits on Aug 13, 2011
  1. Merge pull request #4 from OJ/master

    yrashk committed Aug 13, 2011
    Small fix to support deployment with reltoo/rebar
Commits on Jun 23, 2011
Commits on Apr 11, 2011
  1. Check return values of uuid_* functions

    msantos committed Apr 11, 2011
    The uuid functions can return errors, including out of memory errors.
    Exit with a badarg exception instead of silently failing.
  2. Use the same code for exporting UUID's of any type

    msantos committed Apr 11, 2011
    Fix the case where memory could possibly be leaked if a memory
    allocation failed.
Commits on Apr 10, 2011
  1. Fix buffer overflows, garbage data

    msantos authored and yrashk committed Apr 10, 2011
    Fix several issues with error checking and string handling.
    
    1. The length of the atom, not the destination buffer, is used for
    copying arguments.
    
    1> A = list_to_atom(string:chars($x, 255)).
    2> ossp_uuid:make(A,A).
    Segmentation fault
    
    2. text formatted UUID's return garbage (leak VM internal data)
    
    The length of the buffer holding the UUID is too small. Although
    uuid_export() returned an error (UUID_RC_MEM), the return value is
    not checked. This results in a binary containing unzero'ed data being
    returned to the caller.
    
    3. ossp_uuid_nif_import can return garbage
    
    In the case where an improperly sized UUID is passed to import/2,
    uuid_import() is not used and garbage is returned to the caller.
    
    4. Allocation is not checked
    
    Check memory allocation succeeds to avoid overflow.
    
    5. make_uuid_ns: allocate space for terminating NULL
    
    Allow enif_get_string() to NULL terminate the strings.
    
    All eunit tests pass now.
Commits on Mar 20, 2011
  1. Added rebar script

    yrashk committed Mar 20, 2011
Commits on Mar 7, 2011
Commits on Feb 21, 2011
  1. Added some EDocs

    yrashk committed Feb 21, 2011
  2. Enforce -fPIC on Linux

    yrashk committed Feb 21, 2011
  3. Initial version.

    yrashk committed Feb 21, 2011
    Please note that the only reason why ossp-uuid depedency is packaged as a binary file (deps/uuid-1.6.2.tar.gz) is becase their download FTP is highly unreliable