Fix segfault in obj_close routine (#1202137, #1215752)

epel9
Pavel Zhukov 10 years ago
parent 75efb8a6e2
commit 81fb0ca81c

@ -7,7 +7,7 @@ index dd7bf9e..3a1c7a8 100644
opj_stream_set_skip_function(stream, fz_opj_stream_skip); opj_stream_set_skip_function(stream, fz_opj_stream_skip);
opj_stream_set_seek_function(stream, fz_opj_stream_seek); opj_stream_set_seek_function(stream, fz_opj_stream_seek);
- opj_stream_set_user_data(stream, &sb); - opj_stream_set_user_data(stream, &sb);
+ opj_stream_set_user_data(stream, &sb, (opj_stream_free_user_data_fn) fclose); + opj_stream_set_user_data(stream, &sb, NULL);
/* Set the length to avoid an assert */ /* Set the length to avoid an assert */
opj_stream_set_user_data_length(stream, size); opj_stream_set_user_data_length(stream, size);

@ -1,6 +1,6 @@
Name: mupdf Name: mupdf
Version: 1.7 Version: 1.7
Release: 1%{?dist} Release: 2%{?dist}
Summary: A lightweight PDF viewer and toolkit Summary: A lightweight PDF viewer and toolkit
Group: Applications/Publishing Group: Applications/Publishing
License: GPLv3 License: GPLv3
@ -77,6 +77,7 @@ update-desktop-database &> /dev/null || :
%Changelog %Changelog
* Wed May 06 2015 Pavel Zhukov <landgraf@fedoraproject.org> - 1.7-1 * Wed May 06 2015 Pavel Zhukov <landgraf@fedoraproject.org> - 1.7-1
- New release 1.7 (#1210318) - New release 1.7 (#1210318)
- Fix segfault in obj_close routine (#1202137, #1215752)
* Wed May 06 2015 Pavel Zhukov <landgraf@fedoraproject.org> - 1.5-6 * Wed May 06 2015 Pavel Zhukov <landgraf@fedoraproject.org> - 1.5-6
- Fix executable name in desktop file - Fix executable name in desktop file

Loading…
Cancel
Save