{"id":11144,"date":"2015-05-05T09:13:33","date_gmt":"2015-05-05T13:13:33","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=11144"},"modified":"2015-05-18T09:51:10","modified_gmt":"2015-05-18T13:51:10","slug":"integer-overflow-bug-in-boeing-787","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2015\/05\/05\/integer-overflow-bug-in-boeing-787\/","title":{"rendered":"Integer Overflow Bug in Boeing 787"},"content":{"rendered":"<p><a href=\"http:\/\/www.engadget.com\/2015\/05\/01\/boeing-787-dreamliner-software-bug\/\">Edgar Alvarez<\/a> (<a href=\"https:\/\/news.ycombinator.com\/item?id=9476139\">comments<\/a>):<\/p><blockquote cite=\"http:\/\/www.engadget.com\/2015\/05\/01\/boeing-787-dreamliner-software-bug\/\"><p>&ldquo;A Model 787 airplane that has been powered continuously for 248 days can lose all alternating current electrical power due to the generator control units simultaneously going into failsafe mode,&rdquo; the FAA said in a statement warning of the flaw. &ldquo;We are issuing this AD to prevent loss of all AC electrical power, which could result in loss of control of the airplane.&rdquo; Boeing, for its part, is <a href=\"http:\/\/thehill.com\/policy\/cybersecurity\/240772-faa-flaw-in-dreamliner-could-cause-loss-of-control\">aware of the problem<\/a> and has reset the power on 787 Dreamliners currently in service.<\/p><\/blockquote>\r\n<p><a href=\"http:\/\/www.engadget.com\/2015\/05\/01\/boeing-787-dreamliner-software-bug\/\">Matt McGuire<\/a>:<\/p>\r\n<blockquote cite=\"http:\/\/www.engadget.com\/2015\/05\/01\/boeing-787-dreamliner-software-bug\/\"><p>It all has to do with Integer math overflow. It could potentially happen on any hardware\/software platform. It&rsquo;s usually a call to something like GetElaspedTime() that will return the amount of milliseconds since the device powered on. If it returns a 32 bit integer (most embedded processors) the maximum is 248 days and some change.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Edgar Alvarez (comments):&ldquo;A Model 787 airplane that has been powered continuously for 248 days can lose all alternating current electrical power due to the generator control units simultaneously going into failsafe mode,&rdquo; the FAA said in a statement warning of the flaw. &ldquo;We are issuing this AD to prevent loss of all AC electrical power, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[1198,131,45,863,71],"class_list":["post-11144","post","type-post","status-publish","format-standard","hentry","category-technology","tag-airplane","tag-bug","tag-c","tag-integer-overflow","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=11144"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11144\/revisions"}],"predecessor-version":[{"id":11149,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11144\/revisions\/11149"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=11144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=11144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=11144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}