• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

micropython / micropython / 14205
98%

Build:
DEFAULT BRANCH: master
Ran 27 Aug 2020 02:47AM UTC
Jobs 1
Files 274
Run time 12s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
14205

push

travis-ci-com

dpgeorge
extmod/machine_i2c: Fix buffer overrun if 'addrsize' is bigger than 32.

The memory operation functions read_mem() and write_mem() create a
temporary buffer on the local C stack for the address bytes with the size
of 4 bytes.  This buffer is filled in a loop from the user supplied address
and address length.  If the user supplied 'addrsize' is bigger than 32, the
local buffer is overrun.

Fix this by raising an exception for invalid 'addrsize' values.

Signed-off-by: Michael Buesch <m@bues.ch>

19498 of 19892 relevant lines covered (98.02%)

430491.91 hits per line

Jobs
ID Job ID Ran Files Coverage
6 14205.6 (MAKEOPTS="-j4") 27 Aug 2020 02:47AM UTC 0
98.02
Travis Job 14205.6
Source Files on build 14205
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #14205
  • cef678b2 on github
  • Prev Build on master (#14203)
  • Next Build on master (#14208)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc