Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1981565 Details for
Bug 2228923
Buffer Overflow Error attempting to generate a datamatrix png
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh89 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch to fix buffer overflow
buffer-fix.patch (text/plain), 597 bytes, created by
Beau V.C. Bellamy
on 2023-08-04 01:08:28 UTC
(
hide
)
Description:
Proposed patch to fix buffer overflow
Filename:
MIME Type:
Creator:
Beau V.C. Bellamy
Created:
2023-08-04 01:08:28 UTC
Size:
597 bytes
patch
obsolete
>diff dmtx-utils-0.7.6/dmtxwrite/dmtxwrite.c.old dmtx-utils-0.7.6/dmtxwrite/dmtxwrite.c >--- dmtx-utils-0.7.6/dmtxwrite/dmtxwrite.c.old 2023-08-03 17:53:15.648492150 -0500 >+++ dmtx-utils-0.7.6/dmtxwrite/dmtxwrite.c 2023-08-03 17:53:24.564648427 -0500 >@@ -340,7 +340,7 @@ > > /* Read input contents into buffer */ > for(bytesReadTotal = 0;; bytesReadTotal += bytesRead) { >- bytesRead = read(fd, codeBuffer + bytesReadTotal, DMTXWRITE_BUFFER_SIZE); >+ bytesRead = read(fd, codeBuffer + bytesReadTotal, DMTXWRITE_BUFFER_SIZE - bytesReadTotal); > if(bytesRead == 0) > break; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2228923
:
1981494
| 1981565