[SERVER-24363] Fix possible signed int overflow in linux processinfo Created: 02/Jun/16  Updated: 06/Jun/16  Resolved: 06/Jun/16

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.3.8

Type: Bug Priority: Major - P3
Reporter: Matt Cotter Assignee: Matt Cotter
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 15 (06/03/16)
Participants:
Linked BF Score: 0

 Description   

malloc_info.uordblks + malloc_info.hblkhd can be greater than int max.



 Comments   
Comment by Githook User [ 06/Jun/16 ]

Author:

{u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}

Message: SERVER-24363 cast mallinfo members to long long before adding
Branch: master
https://github.com/mongodb/mongo/commit/5018df28b12f0697cf2ba3d6d35b0e16808a42ab

Comment by Githook User [ 06/Jun/16 ]

Author:

{u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}

Message: SERVER-24363 switch heap_usage_bytes to counter64
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/62fb0f56b2a45850084b12ee2f35b678d6464409

Comment by Githook User [ 03/Jun/16 ]

Author:

{u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}

Message: Revert "SERVER-24363 cast mallinfo members to long long before adding"

This reverts commit 8900002b731358b0beedadb2ceb4e3156de402b6.
Branch: master
https://github.com/mongodb/mongo/commit/f617392d541efa7d9ac5615ab58ddeedfa1ef779

Comment by Githook User [ 03/Jun/16 ]

Author:

{u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}

Message: SERVER-24363 cast mallinfo members to long long before adding
Branch: master
https://github.com/mongodb/mongo/commit/8900002b731358b0beedadb2ceb4e3156de402b6

Generated at Thu Feb 08 04:06:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.