[gmime-devel] Minor issue with uninitialized var
- From: Ariman <ariman inbox ru>
- To: Jeffrey Stedfast <fejj gnome org>
- Cc: gmime-devel-list gnome org
- Subject: [gmime-devel] Minor issue with uninitialized var
- Date: Mon, 13 Aug 2012 18:33:35 +0300
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]