Snynet Solution Logo
MON - SUN: 10 AM - 6 PM
+60 11 5624 8319


Nasdaq had to adjust core code after Berkshire Hathaway share price high

Image Description

The share price of investment group Berkshire Hathaway rose so high recently that it briefly broke the code of the Nasdaq stock exchange.

As reported by The Register, Nasdaq uses 32-bit unsigned integers as opposed to 64-bit unsigned integers for stocks listed on its exchange. 

Normally this wouldn't be a problem but because the investment group, run by legendary investor Warren Buffett, is so highly valued, its BRK.A stock exceeded the maximum value of a 32-bit variable.

This is 4,294,967,295 in decimal - and at the time of writing, one share of BRK.A stock is currently valued at over $437k per share. The stock is also listed on the New York Stock Exchange but unlike Nasdaq, it was unaffected by the bug.

Breaking Nasdaq's code

Following BRK.A's recent increase in price, the Nasdaq exchange stopped transmitting information about the stock on both its website and in the feeds of brokers and other financial organizations. Instead, the website for the stock displayed a message which read “Data is currently not available”.

As Nasdaq doesn't store stock prices using a floating-point number format likely due to the fact that they can be approximate, the exchange multiply quotes by 10,000 and stores them as 32-bit unsigned integers. In this case the value 123,456 represents a stock price of $12.3456.

BRK.A's current price of $437,131.0000 would be stored as 4,371,310,000 and this exceeds the maximum of  4,294,967,295 and for this reason, it would overflow to a value far lower than the actual stock price as it would wrap around from the maximum to zero and then go past zero to  43,713,100 or $4,713.100.

If Nasdaq had broadcast this price online, there would be utter pandemonium as investors would think the stock lost over $400k in value while consumers would believe that they could pick up shares of one of the world's highest valued stocks at a bargain price.

According to Nasdaq, the exchange has said that the issue will be fixed by May 17.


07 May 2021



Other Blog

  • UK Government must uphold data privacy values

    The government's recent Defence Review stressed the importance of cybersecurity - BlackBerry discusses the next steps.

    Read More
  • The revamp of this classic Christmas toy has a serious Bluetooth security flaw

    Older readers will probably remember the Fisher-Price Chatter phone, a classic toy that almost always sells out during the holiday season. This year, however, buyers might get a little more than what they paid for - if not too much.

    As reported by TechCrunch, the newly "smart" edition of the Chatter phone came with a modern twist - the device is essentially a Bluetooth speaker, with a built-in microphone (and the essential wobbly eyes).

    That way, parents can hook it up to their mobile phones via Bluetooth, and chat away with their young ones for guaranteed hilarity.

    But the problem is - there’s no secure pairing process. According to TechCrunch, anyone close enough can quite easily connect to the Chatter phone. As a result, Chatter can end up broadcasting audio from nearby smartphones and pick up on calls pretty much instantly.

    Investigating the claims

    In a statement, the device’s manufacturer Mattel said the phone, “will time out if no connection is made or once the pairing occurs — it is only discoverable within a narrow window of time and requires physical access to the device.” 

    However, in TechCrunch’s tests, the connection did not time out even after an hour. Mattel also said it was “committed to security” and that it would be “investigating” the claims.

    Ken Munro, founder of the cybersecurity company Pen Test Partners, who also tested the device, said the flaw could be leveraged by malicious actors or neighbors.

    “It doesn’t need kids to interact with it in order for it to become an audio bug. Just leaving the handset off is enough,” said Munro.

    The first Chatter phone was released some 60 years ago, and while the old (Bluetooth-less) toys cost around $7, the new one will set you back $60. The device is battery-powered and lasts up to nine hours on a single charge, the company claims. 

    You might want to check out our list of the best endpoint protection software right now

    Read More
  • AMD RX 6900 XT GPU breaks another overclock record, leaving Nvidia in its dust

    A recent record overclock has already been surpassed – might we even see 3.5GHz reached before long?

    Read More
  • Best SSL certificate services to buy from in 2021: Get the cheapest price today

    Managing SSL certification can be a complex exercise, but we’re here to help with this guide to your various options.

    Read More

Find Out More About Us

Want to hire best people for your project? Look no further you came to the right place!

Contact Us