Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix sign warnings from win32 compiler | Alexander Larsson | 2010-07-08 | 1 | -2/+2 |
| | |||||
* | Add spice_chunks_* helpers | Alexander Larsson | 2010-07-07 | 1 | -0/+59 |
| | |||||
* | Add spice_strnlen | Alexander Larsson | 2010-06-17 | 1 | -0/+12 |
| | |||||
* | Relicense everything from GPL to LGPL 2.1+ | Alexander Larsson | 2010-04-13 | 1 | -9/+9 |
| | |||||
* | Add spice_strndup | Alexander Larsson | 2010-03-24 | 1 | -0/+18 |
| | | | | Also, make str(n)dup handle NULL correctly | ||||
* | New memory allocators that exit on OOM and handle multiplication overflow | Alexander Larsson | 2010-03-11 | 1 | -0/+150 |
Every place that does a regular malloc/calloc and aborts on failure should use spice_malloc/spice_mallo0 instead, which is leaner and cleaner. Allocations of dynamically sized arrays can use g_malloc_n or g_new etc which correctly handle multiplication overflow if some of the arguments are not trusted. |