Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double free in ft2font #18962

Closed
vbraun opened this issue Jul 29, 2015 · 13 comments
Closed

Double free in ft2font #18962

vbraun opened this issue Jul 29, 2015 · 13 comments

Comments

@vbraun
Copy link
Member

vbraun commented Jul 29, 2015

As reported at https://groups.google.com/d/msg/sage-support/K-neaKVSGiE/YMvQqVNQCQAJ

sage: import matplotlib 
sage: matplotlib.rc('text', usetex=True) 
sage: plot(sin).save('/tmp/test.svg') # works 
sage: plot(sin).save('/tmp/test.svg') # segfault 

This is a bug in freetype 2.5.2 (http://savannah.nongnu.org/bugs/?40997)

Update to freetype-2.6 fixes it.

CC: @kiwifb

Component: packages: standard

Author: Volker Braun

Branch: 1be3c2b

Reviewer: François Bissey

Issue created by migration from https://trac.sagemath.org/ticket/18962

@vbraun vbraun added this to the sage-6.9 milestone Jul 29, 2015
@vbraun
Copy link
Member Author

vbraun commented Jul 29, 2015

Author: Volker Braun

@vbraun

This comment has been minimized.

@vbraun
Copy link
Member Author

vbraun commented Jul 29, 2015

Branch: u/vbraun/double_free_in_ft2font

@vbraun
Copy link
Member Author

vbraun commented Jul 29, 2015

New commits:

1be3c2bUpdate to freetype 2.6

@vbraun
Copy link
Member Author

vbraun commented Jul 29, 2015

Commit: 1be3c2b

@kiwifb

This comment has been minimized.

@kiwifb
Copy link
Member

kiwifb commented Jul 29, 2015

comment:4

Hum, I am only at 2.5.5 in sage-on-gentoo and that's not vulnerable. Hum, spkg-install doesn't do anything special that will need updating for that version so it should be all good.

@vbraun
Copy link
Member Author

vbraun commented Jul 29, 2015

comment:5

Yes, 2.5.5 is also good.

@vbraun
Copy link
Member Author

vbraun commented Jul 29, 2015

Reviewer: François Bissey

@sagetrac-aginiewicz
Copy link
Mannequin

sagetrac-aginiewicz mannequin commented Jul 29, 2015

comment:7

I can confirm that it fixes original issue (made fresh build, all tests passed and saving to svg no longer segfaults)

@vbraun
Copy link
Member Author

vbraun commented Jul 29, 2015

Changed branch from u/vbraun/double_free_in_ft2font to 1be3c2b

@kiwifb
Copy link
Member

kiwifb commented Aug 26, 2015

comment:9

follow up in #19089

@kiwifb
Copy link
Member

kiwifb commented Aug 26, 2015

Changed commit from 1be3c2b to none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants