From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Problem report #114: base/src/emacs/src/font.c (Fopen_font); UNINIT Date: Tue, 2 Dec 2008 14:24:16 -0800 (PST) Message-ID: <200812022224.mB2MOGQt021767@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228256759 4122 80.91.229.12 (2 Dec 2008 22:25:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Dec 2008 22:25:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 02 23:27:02 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L7dhk-0007RO-Ea for ged-emacs-devel@m.gmane.org; Tue, 02 Dec 2008 23:26:53 +0100 Original-Received: from localhost ([127.0.0.1]:43625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7dgZ-0008KS-VO for ged-emacs-devel@m.gmane.org; Tue, 02 Dec 2008 17:25:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7dfM-0007Py-No for emacs-devel@gnu.org; Tue, 02 Dec 2008 17:24:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7dfL-0007OC-70 for emacs-devel@gnu.org; Tue, 02 Dec 2008 17:24:24 -0500 Original-Received: from [199.232.76.173] (port=51000 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7dfL-0007Ny-2Q for emacs-devel@gnu.org; Tue, 02 Dec 2008 17:24:23 -0500 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:43738) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1L7dfK-0001os-JB for emacs-devel@gnu.org; Tue, 02 Dec 2008 17:24:22 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mB2MOGpd018832 for ; Tue, 2 Dec 2008 14:24:16 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mB2MOGQt021767; Tue, 2 Dec 2008 14:24:16 -0800 (PST) Original-Lines: 61 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mB2MOGpd018832 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106453 Archived-At: CID: 114 Checker: UNINIT (help) File: base/src/emacs/src/font.c Function: Fopen_font Description: Using uninitialized value "isize" Event var_decl: Declared variable "isize" without initializer Also see events: [uninit_use] 4434 int isize; 4435 At conditional (1): "font_entity & 7 != 4" taking false path At conditional (2): "((0), (font_entity & -8))->size & 4611686018429485056 != 4611686018429485056" taking false path At conditional (3): "((0), (font_entity & -8))->size & 511 != 14" taking false path At conditional (4): "0" taking false path 4436 CHECK_FONT_ENTITY (font_entity); At conditional (5): "frame == Qnil" taking true path 4437 if (NILP (frame)) 4438 frame = selected_frame; At conditional (6): "frame & 7 != 4" taking false path At conditional (7): "((0), (frame & -8))->size & 4611686018427388928 != 4611686018427388928" taking false path At conditional (8): "((0), (frame & -8))->terminal == 0" taking false path At conditional (9): "0" taking false path 4439 CHECK_LIVE_FRAME (frame); 4440 At conditional (10): "size == Qnil" taking false path 4441 if (NILP (size)) 4442 isize = XINT (AREF (font_entity, FONT_SIZE_INDEX)); 4443 else 4444 { At conditional (11): "size & 7 != 6" taking false path At conditional (12): "0" taking false path 4445 CHECK_NUMBER_OR_FLOAT (size); At conditional (13): "size & 7 == 6" taking true path 4446 if (FLOATP (size)) Event uninit_use: Using uninitialized value "isize" Also see events: [var_decl] 4447 isize = POINT_TO_PIXEL (- isize, XFRAME (frame)->resy); 4448 else 4449 isize = XINT (size); 4450 if (isize == 0) 4451 isize = 120; 4452 } 4453 return font_open_entity (XFRAME (frame), font_entity, isize); 4454 } 4