--- dmtx-utils-0.7.6/dmtxwrite/dmtxwrite.c      2025-05-26 13:20:58.000000000 
+0900
+++ dmtx-utils/dmtxwrite/dmtxwrite.c    2025-05-26 13:18:18.823289015 +0900
@@ -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 received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2087948

Title:
  Aborted (core dumped) on 24.04 Ubuntu version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dmtx-utils/+bug/2087948/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to