Date: Tue, 13 Aug 2013 07:09:29 GMT From: Alexey Markov <redrat@mail.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/181250: graphics/gd: gdFontSmall definition is missed Message-ID: <201308130709.r7D79Tgu056896@oldred.freebsd.org> Resent-Message-ID: <201308130710.r7D7A0QM034146@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 181250 >Category: ports >Synopsis: graphics/gd: gdFontSmall definition is missed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 13 07:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Alexey Markov >Release: 8.3-RELEASE-p7 >Organization: JSC Complitex >Environment: FreeBSD ku-new.memo.ru 8.3-RELEASE-p7 FreeBSD 8.3-RELEASE-p7 #0: Thu Apr 4 12:17:22 MSK 2013 support@ku-new.memo.ru:/arc/obj/arc/src/sys/KU-NEW amd64 >Description: After upgrading gd-2.0.35_9,1 to the libgd-2.1.0,1 a definition of internal GD structure gdFontSmall is missed, and as a consequence some applications now gets a segmentation fault (e.g. MRTG). >How-To-Repeat: Just a little demo for this bug: #include <gd.h> #include <gdfonts.h> int main() { printf("gdFontSmall: %p\n", gdFontSmall); printf("gdFontSmall-w: %d\n", gdFontSmall->w); return 0; } For gd-2.0.35_9,1 it print: gdFontSmall: 0x80076af80 gdFontSmall-w: 6 For libgd-2.1.0,1 it print: gdFontSmall: 0x0 Segmentation fault(core dumped) >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308130709.r7D79Tgu056896>