Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(480075)

Issue 1181: Add an od_enc_init_impl() to handle malloc failure.

Can't Edit
Can't Publish+Mail
Start Review
Created:
2 years, 11 months ago by negge
Modified:
2 years, 11 months ago
Reviewers:
derf, tmatth
Visibility:
Public.

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add an od_enc_init_impl() to handle malloc failure. #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/encode.c View 1 3 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 3
negge
2 years, 11 months ago #1
negge
2 years, 11 months ago #2
tmatth
2 years, 11 months ago #3
r-

http://review.xiph.org/1181/diff/1976/src/encode.c
File src/encode.c (right):

http://review.xiph.org/1181/diff/1976/src/encode.c#newcode247
src/encode.c:247: enc->bs = (od_block_size_comp *)malloc(sizeof(*enc->bs));
Needs to handle failure here.
Sign in to reply to this message.

RSS Feeds Recent Issues | This issue
This is Rietveld