The FreeType Project - Bugs: bug #46229, Memory leak in T1_Read_Metrics...
You are not allowed to post comments on this tracker with your current authentication level.
bug #46229: Memory leak in T1_Read_Metrics when attaching files.
Submitter: | bungeman <bungeman> | ||
Submitted: | Fri 16 Oct 2015 06:33:57 PM UTC | ||
Severity: | 3 - Normal | Item Group: | Incorrect behaviour |
Status: | Fixed | Privacy: | Public |
Assigned to: | wl | Open/Closed: | Closed |
Planned Release: | 2.6.2 |
Tue 20 Oct 2015 08:55:05 PM UTC, comment #2: |
Kostya Serebryany <kcc> |
Tue 20 Oct 2015 05:09:11 AM UTC, comment #1: Memory leak now fixed in git, thanks.
|
Werner LEMBERG <wl> |
Fri 16 Oct 2015 06:33:57 PM UTC, original submission:
This was found while working on extending ftfuzzer.cc for libFuzzer, but appears to happen naturally (I haven't even started running the fuzzer with these changes yet, just testing with runinput).
|
bungeman <bungeman> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-10-20 | wl | Status | None | Fixed | |
Assigned to | None | wl | |||
Open/Closed | Open | Closed | |||
Planned Release | None | 2.6.2 | |||
Carbon-Copy | - | Added kcc | |||
2015-10-16 | bungeman | Attached File | - | Added a010013l.tar, #35213 | |
Attached File | - | Added fuzzer_add_tar_support.diff, #35214 |
Powered by Savane 3.13-d3ae.
Corresponding source code
Using tar is a fine trick. But It will also stress tar itself and will waste some time on it.
We don't have a really easy way to fuzz combinations of multiple
inputs. However, we have a way to implement more custom logic,
including your own custom mutators. See
https://github.com/llvm-mirror/llvm/blob/master/lib/Fuzzer/test/UserSuppliedFuzzerTest.cpp
There the target function is not just a function, but a member of a class which also redefines the Mutate method.
So, in your custom mutator you may
- untar the file (which is a valid tar archive)
- mutate every file in the archive separately
- tar it back for storage.
We don't have a more convenient way yet, but your request is not unique.