Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 643998 Details for
Bug 876066
Using uninitialized value
[?]
New
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.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
List of all defects added in hplip-3.12.4-1.el6
hplip.added.err (text/plain), 70.05 KB, created by
Ondrej Oprala
on 2012-11-13 08:35:09 UTC
(
hide
)
Description:
List of all defects added in hplip-3.12.4-1.el6
Filename:
MIME Type:
Creator:
Ondrej Oprala
Created:
2012-11-13 08:35:09 UTC
Size:
70.05 KB
patch
obsolete
>Error: CHECKED_RETURN (CWE-252): >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:93: cond_true: Condition "g_savepsfile & 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:98: check_return: Calling function "chmod(sfile_name, 420U)" without checking return value. This library function may fail and return an error code. >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:98: unchecked_value: No check of the return value of "chmod(sfile_name, 420U)". > >Error: OVERRUN: >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:627: cond_false: Condition "dd <= 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:627: cond_false: Condition "dd > 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:627: cond_false: Condition "msp->device[dd].index != dd", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:627: cond_false: Condition "cd <= 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:627: cond_at_least: Checking "cd <= 0" implies that the value of "cd" is at least 1 on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:627: cond_false: Condition "cd > HPMUD_MAX_CHANNEL_ID", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:627: cond_between: Checking "cd > 45" implies that the value of "cd" is between 1 and 45 (inclusive) on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:627: overrun-local: Overrunning array "msp->device[dd].channel" of 45 16720-byte elements at element index 45 (byte offset 752400) using index "cd" (which evaluates to 45). > >Error: OVERRUN: >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:627: cond_false: Condition "dd <= 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:627: cond_at_least: Checking "dd <= 0" implies that the value of "dd" is at least 1 on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:627: cond_false: Condition "dd > 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:627: cond_between: Checking "dd > 2" implies that the value of "dd" is between 1 and 2 (inclusive) on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:627: overrun-local: Overrunning array "msp->device" of 2 754088-byte elements at element index 2 (byte offset 1508176) using index "dd" (which evaluates to 2). > >Error: OVERRUN: >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:522: cond_false: Condition "dd <= 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:522: cond_at_least: Checking "dd <= 0" implies that the value of "dd" is at least 1 on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:522: cond_false: Condition "dd > 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:522: cond_between: Checking "dd > 2" implies that the value of "dd" is between 1 and 2 (inclusive) on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:522: overrun-local: Overrunning array "msp->device" of 2 754088-byte elements at element index 2 (byte offset 1508176) using index "dd" (which evaluates to 2). > >Error: OVERRUN: >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:541: cond_false: Condition "dd <= 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:541: cond_at_least: Checking "dd <= 0" implies that the value of "dd" is at least 1 on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:541: cond_false: Condition "dd > 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:541: cond_between: Checking "dd > 2" implies that the value of "dd" is between 1 and 2 (inclusive) on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:541: overrun-local: Overrunning array "msp->device" of 2 754088-byte elements at element index 2 (byte offset 1508176) using index "dd" (which evaluates to 2). > >Error: OVERRUN: >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:559: cond_false: Condition "dd <= 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:559: cond_at_least: Checking "dd <= 0" implies that the value of "dd" is at least 1 on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:559: cond_false: Condition "dd > 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:559: cond_between: Checking "dd > 2" implies that the value of "dd" is between 1 and 2 (inclusive) on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:559: overrun-local: Overrunning array "msp->device" of 2 754088-byte elements at element index 2 (byte offset 1508176) using index "dd" (which evaluates to 2). > >Error: OVERRUN: >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:683: cond_false: Condition "dd <= 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:683: cond_at_least: Checking "dd <= 0" implies that the value of "dd" is at least 1 on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:683: cond_false: Condition "dd > 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:687: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:683: cond_between: Checking "dd > 2" implies that the value of "dd" is between 1 and 2 (inclusive) on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:689: overrun-local: Overrunning array "msp->device" of 2 754088-byte elements at element index 2 (byte offset 1508176) using index "dd" (which evaluates to 2). > >Error: OVERRUN: >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:609: cond_false: Condition "dd <= 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:609: cond_at_least: Checking "dd <= 0" implies that the value of "dd" is at least 1 on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:609: cond_false: Condition "dd > 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:609: cond_between: Checking "dd > 2" implies that the value of "dd" is between 1 and 2 (inclusive) on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:609: overrun-local: Overrunning array "msp->device" of 2 754088-byte elements at element index 2 (byte offset 1508176) using index "dd" (which evaluates to 2). > >Error: OVERRUN: >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:664: cond_false: Condition "dd <= 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:664: cond_false: Condition "dd > 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:664: cond_false: Condition "msp->device[dd].index != dd", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:664: cond_false: Condition "cd <= 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:664: cond_at_least: Checking "cd <= 0" implies that the value of "cd" is at least 1 on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:664: cond_false: Condition "cd > HPMUD_MAX_CHANNEL_ID", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:664: cond_between: Checking "cd > 45" implies that the value of "cd" is between 1 and 45 (inclusive) on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:664: overrun-local: Overrunning array "msp->device[dd].channel" of 45 16720-byte elements at element index 45 (byte offset 752400) using index "cd" (which evaluates to 45). > >Error: OVERRUN: >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:664: cond_false: Condition "dd <= 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:664: cond_at_least: Checking "dd <= 0" implies that the value of "dd" is at least 1 on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:664: cond_false: Condition "dd > 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:664: cond_between: Checking "dd > 2" implies that the value of "dd" is between 1 and 2 (inclusive) on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:664: overrun-local: Overrunning array "msp->device" of 2 754088-byte elements at element index 2 (byte offset 1508176) using index "dd" (which evaluates to 2). > >Error: OVERRUN: >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:646: cond_false: Condition "dd <= 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:646: cond_false: Condition "dd > 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:646: cond_false: Condition "msp->device[dd].index != dd", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:646: cond_false: Condition "cd <= 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:646: cond_at_least: Checking "cd <= 0" implies that the value of "cd" is at least 1 on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:646: cond_false: Condition "cd > HPMUD_MAX_CHANNEL_ID", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:646: cond_between: Checking "cd > 45" implies that the value of "cd" is between 1 and 45 (inclusive) on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:646: overrun-local: Overrunning array "msp->device[dd].channel" of 45 16720-byte elements at element index 45 (byte offset 752400) using index "cd" (which evaluates to 45). > >Error: OVERRUN: >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:646: cond_false: Condition "dd <= 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:646: cond_at_least: Checking "dd <= 0" implies that the value of "dd" is at least 1 on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:646: cond_false: Condition "dd > 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:646: cond_between: Checking "dd > 2" implies that the value of "dd" is between 1 and 2 (inclusive) on the false branch. >/builddir/build/BUILD/hplip-3.12.4/io/hpmud/hpmud.c:646: overrun-local: Overrunning array "msp->device" of 2 754088-byte elements at element index 2 (byte offset 1508176) using index "dd" (which evaluates to 2). > >Error: RESOURCE_LEAK (CWE-404): >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "1 != this->m_pJA->pre_process_raster", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "!cups_header.Duplex", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:683: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:693: cond_false: Condition "fdEven < 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:693: cond_false: Condition "fdOdd < 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:693: cond_false: Condition "fdSwaped < 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:697: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:701: cond_false: Condition "even_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:701: cond_false: Condition "odd_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:705: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:708: cond_false: Condition "pPageDataBuffer == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:711: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:717: cond_true: Condition "current_page_number % 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:719: if_fallthrough: Falling through to end of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:722: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:727: cond_true: Condition "current_page_number % 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:729: if_fallthrough: Falling through to end of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:732: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:727: cond_true: Condition "current_page_number % 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:729: if_fallthrough: Falling through to end of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:732: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:735: cond_true: Condition "cupsRasterReadHeader2(*ppcups_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:715: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:717: cond_false: Condition "current_page_number % 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:720: else_branch: Reached else branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:727: cond_false: Condition "current_page_number % 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:730: else_branch: Reached else branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:735: cond_false: Condition "cupsRasterReadHeader2(*ppcups_raster, &cups_header)", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:741: open_fn: Returning handle opened by function "open(char const *, int, ...)". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:741: var_assign: Assigning: "fdEven" = handle returned from "open(hpEvenPagesFile, 0)". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:741: cond_false: Condition "(fdEven = open(hpEvenPagesFile, 0)) == -1", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:745: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:747: cond_false: Condition "(fdOdd = open(hpOddPagesFile, 0)) == -1", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:751: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:756: cond_false: Condition "swaped_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:756: cond_false: Condition "even_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:756: cond_false: Condition "odd_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:761: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: cond_true: Condition "loopcntr--", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:765: cond_true: Condition "cupsRasterReadHeader2(even_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:775: cond_true: Condition "cupsRasterReadHeader2(odd_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:785: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: cond_true: Condition "loopcntr--", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:765: cond_true: Condition "cupsRasterReadHeader2(even_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:775: cond_true: Condition "cupsRasterReadHeader2(odd_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:785: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: cond_true: Condition "loopcntr--", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:765: cond_true: Condition "cupsRasterReadHeader2(even_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:775: cond_true: Condition "cupsRasterReadHeader2(odd_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:785: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: cond_false: Condition "loopcntr--", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:785: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:788: cond_true: Condition "current_page_number % 2 == 1", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:793: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:796: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:793: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:793: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:796: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:803: cond_true: Condition "pPageDataBuffer", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:809: cond_false: Condition "(fdSwaped = open(pSwapedPagesFileName, 0)) == -1", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:813: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:821: leaked_handle: Handle variable "fdEven" going out of scope leaks the handle. > >Error: RESOURCE_LEAK (CWE-404): >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "1 != this->m_pJA->pre_process_raster", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "!cups_header.Duplex", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:683: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:693: cond_false: Condition "fdEven < 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:693: cond_false: Condition "fdOdd < 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:693: cond_false: Condition "fdSwaped < 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:697: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:701: cond_false: Condition "even_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:701: cond_false: Condition "odd_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:705: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:708: cond_false: Condition "pPageDataBuffer == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:711: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:717: cond_true: Condition "current_page_number % 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:719: if_fallthrough: Falling through to end of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:722: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:727: cond_true: Condition "current_page_number % 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:729: if_fallthrough: Falling through to end of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:732: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:727: cond_true: Condition "current_page_number % 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:729: if_fallthrough: Falling through to end of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:732: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:735: cond_true: Condition "cupsRasterReadHeader2(*ppcups_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:715: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:717: cond_false: Condition "current_page_number % 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:720: else_branch: Reached else branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:727: cond_false: Condition "current_page_number % 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:730: else_branch: Reached else branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:735: cond_false: Condition "cupsRasterReadHeader2(*ppcups_raster, &cups_header)", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:741: open_fn: Returning handle opened by function "open(char const *, int, ...)". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:741: var_assign: Assigning: "fdEven" = handle returned from "open(hpEvenPagesFile, 0)". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:741: cond_false: Condition "(fdEven = open(hpEvenPagesFile, 0)) == -1", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:745: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:747: cond_true: Condition "(fdOdd = open(hpOddPagesFile, 0)) == -1", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:750: goto: Jumping to label "bugout" >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:823: label: Reached label "bugout" >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:825: cond_false: Condition "fdEven > 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:827: cond_false: Condition "fdOdd > 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:829: cond_true: Condition "fdSwaped > 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:833: cond_true: Condition "pPageDataBuffer", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:839: leaked_handle: Handle variable "fdEven" going out of scope leaks the handle. > >Error: RESOURCE_LEAK (CWE-404): >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "1 != this->m_pJA->pre_process_raster", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "!cups_header.Duplex", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:683: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:693: cond_false: Condition "fdEven < 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:693: cond_false: Condition "fdOdd < 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:693: cond_false: Condition "fdSwaped < 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:697: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:701: cond_false: Condition "even_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:701: cond_false: Condition "odd_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:705: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:708: cond_false: Condition "pPageDataBuffer == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:711: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:717: cond_true: Condition "current_page_number % 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:719: if_fallthrough: Falling through to end of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:722: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:727: cond_true: Condition "current_page_number % 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:729: if_fallthrough: Falling through to end of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:732: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:727: cond_true: Condition "current_page_number % 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:729: if_fallthrough: Falling through to end of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:732: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:735: cond_true: Condition "cupsRasterReadHeader2(*ppcups_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:715: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:717: cond_false: Condition "current_page_number % 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:720: else_branch: Reached else branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:727: cond_false: Condition "current_page_number % 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:730: else_branch: Reached else branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:735: cond_false: Condition "cupsRasterReadHeader2(*ppcups_raster, &cups_header)", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:741: cond_false: Condition "(fdEven = open(hpEvenPagesFile, 0)) == -1", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:745: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:747: open_fn: Returning handle opened by function "open(char const *, int, ...)". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:747: var_assign: Assigning: "fdOdd" = handle returned from "open(hpOddPagesFile, 0)". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:747: cond_false: Condition "(fdOdd = open(hpOddPagesFile, 0)) == -1", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:751: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:756: cond_false: Condition "swaped_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:756: cond_false: Condition "even_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:756: cond_false: Condition "odd_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:761: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: cond_true: Condition "loopcntr--", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:765: cond_true: Condition "cupsRasterReadHeader2(even_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:775: cond_true: Condition "cupsRasterReadHeader2(odd_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:785: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: cond_true: Condition "loopcntr--", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:765: cond_true: Condition "cupsRasterReadHeader2(even_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:775: cond_true: Condition "cupsRasterReadHeader2(odd_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:785: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: cond_true: Condition "loopcntr--", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:765: cond_true: Condition "cupsRasterReadHeader2(even_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:775: cond_true: Condition "cupsRasterReadHeader2(odd_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:785: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: cond_false: Condition "loopcntr--", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:785: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:788: cond_true: Condition "current_page_number % 2 == 1", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:793: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:796: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:793: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:793: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:796: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:803: cond_true: Condition "pPageDataBuffer", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:809: cond_false: Condition "(fdSwaped = open(pSwapedPagesFileName, 0)) == -1", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:813: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:821: leaked_handle: Handle variable "fdOdd" going out of scope leaks the handle. > >Error: RESOURCE_LEAK (CWE-404): >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "1 != this->m_pJA->pre_process_raster", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "!cups_header.Duplex", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:683: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:693: cond_false: Condition "fdEven < 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:693: cond_false: Condition "fdOdd < 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:693: cond_false: Condition "fdSwaped < 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:697: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:701: cond_false: Condition "even_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:701: cond_false: Condition "odd_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:705: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:708: cond_false: Condition "pPageDataBuffer == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:711: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:717: cond_true: Condition "current_page_number % 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:719: if_fallthrough: Falling through to end of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:722: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:727: cond_true: Condition "current_page_number % 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:729: if_fallthrough: Falling through to end of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:732: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:727: cond_true: Condition "current_page_number % 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:729: if_fallthrough: Falling through to end of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:732: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:735: cond_true: Condition "cupsRasterReadHeader2(*ppcups_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:715: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:717: cond_false: Condition "current_page_number % 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:720: else_branch: Reached else branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:727: cond_false: Condition "current_page_number % 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:730: else_branch: Reached else branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:735: cond_false: Condition "cupsRasterReadHeader2(*ppcups_raster, &cups_header)", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:741: cond_false: Condition "(fdEven = open(hpEvenPagesFile, 0)) == -1", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:745: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:747: open_fn: Returning handle opened by function "open(char const *, int, ...)". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:747: var_assign: Assigning: "fdOdd" = handle returned from "open(hpOddPagesFile, 0)". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:747: cond_false: Condition "(fdOdd = open(hpOddPagesFile, 0)) == -1", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:751: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:756: cond_true: Condition "swaped_pages_raster == NULL", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:759: goto: Jumping to label "bugout" >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:823: label: Reached label "bugout" >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:825: cond_true: Condition "fdEven > 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:827: cond_false: Condition "fdOdd > 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:829: cond_true: Condition "fdSwaped > 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:833: cond_true: Condition "pPageDataBuffer", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:839: leaked_handle: Handle variable "fdOdd" going out of scope leaks the handle. > >Error: RESOURCE_LEAK (CWE-404): >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "1 != this->m_pJA->pre_process_raster", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "!cups_header.Duplex", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:683: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:693: cond_false: Condition "fdEven < 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:693: cond_false: Condition "fdOdd < 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:693: cond_false: Condition "fdSwaped < 0", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:697: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:701: cond_false: Condition "even_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:701: cond_false: Condition "odd_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:705: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:708: cond_false: Condition "pPageDataBuffer == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:711: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:717: cond_true: Condition "current_page_number % 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:719: if_fallthrough: Falling through to end of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:722: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:727: cond_true: Condition "current_page_number % 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:729: if_fallthrough: Falling through to end of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:732: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:727: cond_true: Condition "current_page_number % 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:729: if_fallthrough: Falling through to end of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:732: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:735: cond_true: Condition "cupsRasterReadHeader2(*ppcups_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:715: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:717: cond_false: Condition "current_page_number % 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:720: else_branch: Reached else branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:727: cond_false: Condition "current_page_number % 2", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:730: else_branch: Reached else branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:725: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:733: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:735: cond_false: Condition "cupsRasterReadHeader2(*ppcups_raster, &cups_header)", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:741: cond_false: Condition "(fdEven = open(hpEvenPagesFile, 0)) == -1", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:745: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:747: cond_false: Condition "(fdOdd = open(hpOddPagesFile, 0)) == -1", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:751: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:756: cond_false: Condition "swaped_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:756: cond_false: Condition "even_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:756: cond_false: Condition "odd_pages_raster == NULL", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:761: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: cond_true: Condition "loopcntr--", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:765: cond_true: Condition "cupsRasterReadHeader2(even_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:775: cond_true: Condition "cupsRasterReadHeader2(odd_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:785: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: cond_true: Condition "loopcntr--", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:765: cond_true: Condition "cupsRasterReadHeader2(even_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:775: cond_true: Condition "cupsRasterReadHeader2(odd_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:785: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: cond_true: Condition "loopcntr--", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:765: cond_true: Condition "cupsRasterReadHeader2(even_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:769: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:772: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:775: cond_true: Condition "cupsRasterReadHeader2(odd_pages_raster, &cups_header)", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:779: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:782: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:785: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:764: cond_false: Condition "loopcntr--", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:785: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:788: cond_true: Condition "current_page_number % 2 == 1", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:793: cond_true: Condition "y < (int)cups_header.cupsHeight", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:796: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:793: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:793: cond_false: Condition "y < (int)cups_header.cupsHeight", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:796: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:803: cond_true: Condition "pPageDataBuffer", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:809: open_fn: Returning handle opened by function "open(char const *, int, ...)". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:809: var_assign: Assigning: "fdSwaped" = handle returned from "open(pSwapedPagesFileName, 0)". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:809: cond_false: Condition "(fdSwaped = open(pSwapedPagesFileName, 0)) == -1", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:813: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:821: leaked_handle: Handle variable "fdSwaped" going out of scope leaks the handle. > >Error: REVERSE_NEGATIVE (CWE-394): >/builddir/build/BUILD/hplip-3.12.4/scan/sane/ledm.c:439: negative_sink: Using "option" as index to array "ps->option". >/builddir/build/BUILD/hplip-3.12.4/scan/sane/ledm.c:441: check_after_sink: You might be using variable "option" before verifying that it is >= 0. > >Error: SECURE_TEMP (CWE-377): >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "1 != this->m_pJA->pre_process_raster", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "!cups_header.Duplex", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:683: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:690: secure_temp: Calling "mkstemp(char *)" without securely setting umask first. > >Error: SECURE_TEMP (CWE-377): >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "1 != this->m_pJA->pre_process_raster", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "!cups_header.Duplex", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:683: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:691: secure_temp: Calling "mkstemp(char *)" without securely setting umask first. > >Error: SECURE_TEMP (CWE-377): >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "1 != this->m_pJA->pre_process_raster", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "!cups_header.Duplex", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:683: if_end: End of if statement >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:692: secure_temp: Calling "mkstemp(char *)" without securely setting umask first. > >Error: STRING_SIZE (CWE-170): >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:161: string_size_argv: argv contains strings with unknown size. >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:172: cond_true: Condition "i < argc", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:175: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:172: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:172: cond_true: Condition "i < argc", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:175: loop: Jumping back to the beginning of the loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:172: loop_begin: Jumped back to beginning of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:172: cond_false: Condition "i < argc", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:175: loop_end: Reached end of loop >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:178: cond_true: Condition "g_savepsfile & 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:181: string_size: Passing string "argv[1]" of unknown size to "open_dbg_outfile(char *)", which expects a string of a particular size. >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:93:5: cond_true: Condition "g_savepsfile & 2", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpps/hppsfilter.c:96:9: string_size_sink_vararg_parm_call: Passing parameter "szjob_id" as a vararg argument to "sprintf(char * restrict, char const * restrict, ...)", which depends on its size. > >Error: UNINIT (CWE-457): >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:673: var_decl: Declaring variable "cups_header" without initializer. >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: cond_false: Condition "1 != this->m_pJA->pre_process_raster", taking false branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/LJZjStream.cpp:681: uninit_use: Using uninitialized value "cups_header.Duplex". > >Error: UNINIT_CTOR (CWE-457): >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.cpp:123: cond_true: Condition "this->m_hHPLibHandle", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.cpp:128: cond_true: Condition "!HPLJSoInit", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.cpp:134: cond_true: Condition "HPLJJBGCompress == NULL", taking true branch >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.h:107: member_decl: Class member declaration for "m_dwWidth". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.cpp:145: uninit_member: Non-static class member "m_dwWidth" is not initialized in this constructor nor in any functions that it calls. >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.h:109: member_decl: Class member declaration for "m_dwLastRaster". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.cpp:145: uninit_member: Non-static class member "m_dwLastRaster" is not initialized in this constructor nor in any functions that it calls. >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.h:111: member_decl: Class member declaration for "m_pszCurPtr". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.cpp:145: uninit_member: Non-static class member "m_pszCurPtr" is not initialized in this constructor nor in any functions that it calls. >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.h:112: member_decl: Class member declaration for "thePrintContext". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.cpp:145: uninit_member: Non-static class member "thePrintContext" is not initialized in this constructor nor in any functions that it calls. >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.h:114: member_decl: Class member declaration for "m_cmColorMode". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.cpp:145: uninit_member: Non-static class member "m_cmColorMode" is not initialized in this constructor nor in any functions that it calls. >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.h:115: member_decl: Class member declaration for "m_bIamColor". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.cpp:145: uninit_member: Non-static class member "m_bIamColor" is not initialized in this constructor nor in any functions that it calls. >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.h:116: member_decl: Class member declaration for "m_iPlaneNumber". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.cpp:145: uninit_member: Non-static class member "m_iPlaneNumber" is not initialized in this constructor nor in any functions that it calls. >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.h:117: member_decl: Class member declaration for "m_iBPP". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.cpp:145: uninit_member: Non-static class member "m_iBPP" is not initialized in this constructor nor in any functions that it calls. >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.h:118: member_decl: Class member declaration for "m_iP". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpijs/ljzjs.cpp:145: uninit_member: Non-static class member "m_iP" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/dbuscomm.h:68: member_decl: Class member declaration for "m_iJobId". >/builddir/build/BUILD/hplip-3.12.4/prnt/hpcups/dbuscomm.cpp:41: uninit_member: Non-static class member "m_iJobId" is not initialized in this constructor nor in any functions that it calls.
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 Raw
Actions:
View
Attachments on
bug 876066
: 643998