emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem report #14 FALSE


From: Kenichi Handa
Subject: Re: Problem report #14 FALSE
Date: Fri, 14 Apr 2006 10:54:45 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, Dan Nicolaescu <address@hidden> writes:

> CID: 14
> Checker: FORWARD_NULL (help)
> File: emacs/src/fileio.c
> Function: e_write
> Description: Variable "(coding)->cmp_data" tracked as NULL was passed to a 
> function that dereferences it.

In e_write, coding->cmp_data is allocated by xmalloc in
advance if coding->composing != COMPOSITION_DISABLED, and

> Event var_deref_model: Variable "(coding)->cmp_data" tracked as NULL was 
> passed to a function that dereferences it. [model]
> Also see events: [var_compare_op]

> 5625        result = encode_coding (coding, addr, buf, nbytes, 
> WRITE_BUF_SIZE);

this function dereferences coding->cmp_data only when
coding->composing != COMPOSITION_DISABLED.

So, I think there's no bug.

---
Kenichi Handa
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]