fix-double-free.patch: cherry pick upstream fix
Alberto Garcia
1 year, 3 months ago
9 | 9 |
* debian/upstream/metadata:
|
10 | 10 |
- Correct Bug-Submit URL and add Bug-Database, Repository and
|
11 | 11 |
Repository-Browse.
|
|
12 |
* debian/patches/fix-double-free.patch:
|
|
13 |
- Cherry-pick upstream patch to fix a double-free bug.
|
12 | 14 |
|
13 | 15 |
-- Alberto Garcia <berto@igalia.com> Tue, 18 Feb 2020 15:27:26 +0100
|
14 | 16 |
|
|
0 |
From: Sergio BaldovĂ <serbalgi@gmail.com>
|
|
1 |
Subject: Fix double-free bug
|
|
2 |
Origin: https://sourceforge.net/p/fuse-emulator/fuse-utils/ci/659214ec558278c3f3ce7ff54d2c1b37752a3ad6/
|
|
3 |
Index: fuse-emulator-utils/rzxcheck.c
|
|
4 |
===================================================================
|
|
5 |
--- fuse-emulator-utils.orig/rzxcheck.c
|
|
6 |
+++ fuse-emulator-utils/rzxcheck.c
|
|
7 |
@@ -180,7 +180,7 @@ main( int argc, char **argv )
|
|
8 |
|
|
9 |
free( buffer );
|
|
10 |
|
|
11 |
- libspectrum_rzx_free( rzx ); free( rzx );
|
|
12 |
+ libspectrum_rzx_free( rzx );
|
|
13 |
libspectrum_signature_free( &signature );
|
|
14 |
|
|
15 |
if( error == LIBSPECTRUM_ERROR_SIGNATURE ) {
|