Comments (4)
- ASY_Load: avoid uninitialized reads from
DupStr
(605e9f3)
This looks OK to me. The ASYLUM format doesn't have a module name field that I've ever seen, and I don't know why this loader has a struct member for it. I don't think I've seen 22 char sample names in them but IIRC they're valid in MODs and it's likely MOD2AMF outputs whatever sample names it was given.
- MikMod_InfoDriver: ensure proper nul termination of list (9db6d2f)
I can't tell if this one was actually a problem or not (I think it would have output ## \0
for the final entry?), but the new handling is cleaner. This seems OK.
- mikmod player, mconfedit.c: make
skip_number
saner (2a1b1f6)
This looks OK to me. The *str
conditions might be redundant, but they don't hurt. (Also, LOL at the signed-to-signed casts for isdigit
.)
from mikmod.
Thanks for the reviews
- MikMod_InfoDriver: ensure proper nul termination of list (9db6d2f)
I can't tell if this one was actually a problem or not (I think it would have output
## \0
for the final entry?), but the new handling is cleaner. This seems OK.
This showed itself in mikmod player when you hit c
where it plays with the driver list in evil ways, and skip_number
used to hit an uninitialized byte.
from mikmod.
The
*str
conditions might be redundant, but they don't hurt.
Well yeah, I was blind I guess. Removed them.
from mikmod.
Changed MikMod_malloc to use plain malloc and not calloc, as of commit
544deb0. The defects revealed by this, i.e. several unitialized memory
reads here and there, has been fixed so far. Let's be on the watch for
any remaining issues - long live valgrind...
Closing this ticket.
from mikmod.
Related Issues (20)
- UniTrk issue HOT 1
- Envelopes with 0 points HOT 6
- IT slide issues HOT 1
- IT, Problems with NNA? HOT 1
- UniMod issues HOT 11
- issue with Xm effect L HOT 2
- Asylum loader question HOT 5
- [Feature Request] Panning law
- I created a Web Audio wrapper/example in a forked repo HOT 2
- [Feature request] Building without texinfo dependency HOT 2
- asylum loader bounds and sanity checks HOT 2
- IT release issue HOT 1
- [Feature Request] - New module formats HOT 4
- Unable to play strange.uni in libmikmod 3.3.11 but was able to play it in libmikmod 3.3.10 HOT 7
- [Ultra Tracker] Tone portamento does not continue between patterns. HOT 1
- [IT] [XM] OOB reads in envelope code HOT 2
- [XM] OOB reads in mixer code HOT 2
- [build issue] libmikmod uses CMake-relative directories for certain files instead of project-relative, causes CMake errors HOT 7
- xm files play at double speed (double sampling?) on macOS 14.1 on Apple Silicon over bluetooth? HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mikmod.