| Summary: | ELF header reader makeShort() bug | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | John Dallaway <john> | ||||||||
| Component: | cdt-core | Assignee: | John Cortell <john.cortell> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | Doug Schaefer <cdtdoug> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | john.cortell, malaperle | ||||||||
| Version: | 8.0 | ||||||||||
| Target Milestone: | 8.1.0 | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
John Dallaway
Created attachment 202637 [details]
Fix for makeShort() plus RX and RL78 machine IDs
The patch avoids treating individual input bytes as negative numbers. It should apply to the cdt_8_0 branch and HEAD.
Created attachment 211599 [details]
Updated patch
Did some refactoring and added tests. Also optimized contributed solution (avoid unnecessary &0xff operations).
Pushed to master (CDT 8.1) Created attachment 211602 [details]
Updated patch
Previous patch lacked new files
(In reply to comment #3) > Pushed to master (CDT 8.1) Thank you, John. (In reply to comment #5) > Thank you, John. Sure thing. Please validate the patch in your environment, if you can. *** cdt git genie on behalf of John Cortell ***
Bug 356519 - ELF header reader makeShort() bug
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=b4da3bb8f027a1c99a7e99e14d0136becf291c81
*** cdt git genie on behalf of John Cortell ***
Bug 356519 - ELF header reader makeShort() bug
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=b4da3bb8f027a1c99a7e99e14d0136becf291c81
*** cdt git genie on behalf of John Cortell ***
Bug 356519 - ELF header reader makeShort() bug
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=b4da3bb8f027a1c99a7e99e14d0136becf291c81
*** cdt git genie on behalf of John Cortell ***
Bug 356519 - ELF header reader makeShort() bug
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=b4da3bb8f027a1c99a7e99e14d0136becf291c81
*** cdt git genie on behalf of John Cortell ***
Bug 356519 - ELF header reader makeShort() bug
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=45c5f16e074987ea3e883f148927f24a51ae8716
|