Thread (1 message) 1 message, 1 author, 2016-06-15
  • (off-list ancestor, not in this archive)
  • unchecked mallocs · Marinescu Paul dan <hidden> · 2016-06-15

unchecked mallocs

From: Marinescu Paul dan <hidden>
Date: 2016-06-15 22:47:59

While checking out the git code in xdiff/xpatience.c and xdiff/xmerge.c I
came across several (three) locations where the return values of xdl_malloc
(#defined as malloc) is not checked. Shouldn't this be done here?

In git 1.6.6 the calls are at

xmerge.c:567
merge.c:571
xpatience.c:191

Paul
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help