Re: [gmime-devel] Minor issue with uninitialized var



Hi Ariman,

Thanks for the heads-up, I'll look into fixing this.

Jeff

On 8/13/2012 11:33 AM, Ariman wrote:
Hi,

I've found minor issue in GMime code.

In function gmime-utils.c:tokenize_rfc2047_phrase on line 2014
        token->is_8bit = ascii ? 0 : 1;
there may be situation when variable 'ascii' is not initialized and have arbitrary value. Execution path never reach lines when this variable receive value and it is not initialized on function start. It is not really a big issue but still can be unpleasant.

To get the same results you can call this function with any simple phrase as input, e.g. Hello World or something like that. I've got this behavior during decoding of name part of From header.

I'm using version 2.6.10.

Best regards,
Ariman




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