Use of initialized value
Bug #1086078 reported by
Marco Tizzoni
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OCS Inventory: Unified Unix Agent |
Fix Released
|
Medium
|
Frank |
Bug Description
Running the agent in debug mode show this:
Use of uninitialized value $DATE in hex at /usr/lib/
substr outside of string at /usr/lib/
At row 54 the code check if $DATE is defined. As it turns out for some host it is defined but it is empty. I fixed it up adding at row 55 something like this:
if ( length($DATE) > 0) { ... }
Changed in ocsinventory-unix-agent: | |
status: | New → Fix Committed |
Changed in ocsinventory-unix-agent: | |
milestone: | none → 2.1rc1 |
Changed in ocsinventory-unix-agent: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Marco,
Thanks for your return. We will integrate your patch.