Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
miniaudio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
miniaudio
Commits
e67953d6
Commit
e67953d6
authored
Oct 28, 2020
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some bugs due to null pointer dereferences.
Public issue
https://github.com/mackron/miniaudio/issues/209
parent
64a1941f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
miniaudio.h
miniaudio.h
+3
-2
No files found.
miniaudio.h
View file @
e67953d6
...
@@ -42108,7 +42108,7 @@ MA_API ma_result ma_vfs_write(ma_vfs* pVFS, ma_vfs_file file, const void* pSrc,
...
@@ -42108,7 +42108,7 @@ MA_API ma_result ma_vfs_write(ma_vfs* pVFS, ma_vfs_file file, const void* pSrc,
{
{
ma_vfs_callbacks* pCallbacks = (ma_vfs_callbacks*)pVFS;
ma_vfs_callbacks* pCallbacks = (ma_vfs_callbacks*)pVFS;
if (pBytesWritten
=
= NULL) {
if (pBytesWritten
!
= NULL) {
*pBytesWritten = 0;
*pBytesWritten = 0;
}
}
...
@@ -42394,7 +42394,7 @@ static ma_result ma_default_vfs_write__win32(ma_vfs* pVFS, ma_vfs_file file, con
...
@@ -42394,7 +42394,7 @@ static ma_result ma_default_vfs_write__win32(ma_vfs* pVFS, ma_vfs_file file, con
}
}
}
}
if (pBytesWritten
=
= NULL) {
if (pBytesWritten
!
= NULL) {
*pBytesWritten = totalBytesWritten;
*pBytesWritten = totalBytesWritten;
}
}
...
@@ -62815,6 +62815,7 @@ v0.10.21 - TBD
...
@@ -62815,6 +62815,7 @@ v0.10.21 - TBD
- Core Audio: Fix a compilation warning.
- Core Audio: Fix a compilation warning.
- Core Audio: Improvements to sample rate selection.
- Core Audio: Improvements to sample rate selection.
- Core Audio: Add notes regarding the Apple notarization process.
- Core Audio: Add notes regarding the Apple notarization process.
- Fix some bugs due to null pointer dereferences.
v0.10.20 - 2020-10-06
v0.10.20 - 2020-10-06
- Fix build errors with UWP.
- Fix build errors with UWP.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment