[SERVER-23403] Encrypted Storage Engine portability fixes Created: 29/Mar/16 Updated: 14/Apr/16 Resolved: 29/Mar/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | 3.3.3 |
| Fix Version/s: | 3.3.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Mira Carey |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Platforms 12 (04/01/16) |
| Participants: |
| Description |
|
The EncryptedDataProtector::finalize method relies on aliasing a size_t* to an int*. This only work on little endian (it's also bad because of aliasing in general) Use data view primitives in symmetric_crypto aesGenerateIV as well (to get rid of the unnecessary aliasing) |
| Comments |
| Comment by Githook User [ 29/Mar/16 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}Message: |