[x264-devel] commit: Gracefully terminate in the case of a malloc failure ( Steven Walters )

git version control git at videolan.org
Sat Aug 8 04:34:37 CEST 2009


x264 | branch: master | Steven Walters <kemuri9 at gmail.com> | Fri Aug  7 16:18:01 2009 -0700| [7139b088129707b0daf3fd3bae9647f649deb1ba] | committer: Jason Garrett-Glaser 

Gracefully terminate in the case of a malloc failure
Fuzz tests show that all mallocs appear to be checked correctly now.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=7139b088129707b0daf3fd3bae9647f649deb1ba
---

 common/common.c       |   64 +++++++++++-----------------
 common/common.h       |   13 +++---
 common/frame.c        |   20 ++++----
 common/osdep.h        |   18 +++++---
 common/set.c          |   11 +++--
 common/visualize.c    |    7 ++-
 common/visualize.h    |    2 +-
 encoder/analyse.c     |   22 ++++++---
 encoder/analyse.h     |    3 +-
 encoder/encoder.c     |  114 +++++++++++++++++++++++++++++--------------------
 encoder/ratecontrol.c |   69 ++++++++++++++++++------------
 encoder/set.c         |   12 ++++-
 encoder/set.h         |    2 +-
 encoder/slicetype.c   |   12 ++++-
 matroska.c            |    5 +-
 muxers.c              |   28 ++++++++++--
 tools/checkasm.c      |    5 ++
 x264.c                |   28 +++++++++---
 x264.h                |    7 ++-
 19 files changed, 271 insertions(+), 171 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=7139b088129707b0daf3fd3bae9647f649deb1ba


More information about the x264-devel mailing list