Skip to content

Add overflow checks for int to bytes conversions #1860

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 10, 2019
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 32 additions & 27 deletions locale/ID.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-07 13:05-0400\n"
"POT-Creation-Date: 2019-05-09 01:06-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -52,8 +52,8 @@ msgstr ""
msgid "%q indices must be integers, not %s"
msgstr ""

#: shared-bindings/bleio/CharacteristicBuffer.c
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
#: shared-bindings/bleio/CharacteristicBuffer.c
#, fuzzy
msgid "%q must be >= 1"
msgstr "buffers harus mempunyai panjang yang sama"
Expand Down Expand Up @@ -253,8 +253,8 @@ msgstr "Semua channel event yang disinkronisasi sedang digunakan"
msgid "All timers for this pin are in use"
msgstr "Semua timer untuk pin ini sedang digunakan"

#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
#: shared-module/_pew/PewPew.c
Expand Down Expand Up @@ -366,7 +366,7 @@ msgstr ""
msgid "Can't connect in Peripheral mode"
msgstr ""

#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c
#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c
msgid "Cannot delete values"
msgstr ""

Expand Down Expand Up @@ -452,7 +452,7 @@ msgstr "Clock unit sedang digunakan"
msgid "Column entry must be digitalio.DigitalInOut"
msgstr ""

#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
msgid "Command must be an int between 0 and 255"
msgstr ""

Expand Down Expand Up @@ -522,17 +522,17 @@ msgstr "Channel EXTINT sedang digunakan"
msgid "Error in regex"
msgstr "Error pada regex"

#: shared-bindings/microcontroller/Pin.c shared-bindings/terminalio/Terminal.c
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
#: shared-bindings/terminalio/Terminal.c shared-bindings/microcontroller/Pin.c
msgid "Expected a %q"
msgstr ""

#: shared-bindings/bleio/CharacteristicBuffer.c
msgid "Expected a Characteristic"
msgstr ""

#: shared-bindings/bleio/Service.c shared-bindings/bleio/Descriptor.c
#: shared-bindings/bleio/Characteristic.c
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Descriptor.c
msgid "Expected a UUID"
msgstr ""

Expand Down Expand Up @@ -719,8 +719,8 @@ msgstr ""
msgid "Frequency captured is above capability. Capture Paused."
msgstr ""

#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
#: shared-bindings/bitbangio/SPI.c shared-bindings/bitbangio/I2C.c
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
msgid "Function requires lock"
msgstr ""

Expand Down Expand Up @@ -750,8 +750,8 @@ msgstr ""
msgid "Input/output error"
msgstr ""

#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
msgid "Invalid %q pin"
msgstr "%q pada tidak valid"

Expand Down Expand Up @@ -819,9 +819,9 @@ msgid "Invalid pin for right channel"
msgstr "Pin untuk channel kanan tidak valid"

#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/SPI.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Pin-pin tidak valid"

Expand Down Expand Up @@ -1074,17 +1074,17 @@ msgstr ""
msgid "Sample rate too high. It must be less than %d"
msgstr "Nilai sampel terlalu tinggi. Nilai harus kurang dari %d"

#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
msgid "Serializer in use"
msgstr "Serializer sedang digunakan"

#: shared-bindings/nvm/ByteArray.c
msgid "Slice and value different lengths."
msgstr ""

#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Group.c
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
#: shared-bindings/displayio/TileGrid.c shared-bindings/displayio/Group.c
#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr ""

Expand Down Expand Up @@ -1167,7 +1167,7 @@ msgstr "Untuk keluar, silahkan reset board tanpa "
msgid "Too many channels in sample."
msgstr "Terlalu banyak channel dalam sampel"

#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
msgid "Too many display busses"
msgstr ""

Expand Down Expand Up @@ -1208,8 +1208,8 @@ msgstr ""
msgid "Unable to allocate buffers for signed conversion"
msgstr "Tidak dapat mengalokasikan buffer untuk signed conversion"

#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
msgid "Unable to find free GCLK"
msgstr "Tidak dapat menemukan GCLK yang kosong"

Expand Down Expand Up @@ -1308,7 +1308,7 @@ msgstr ""
msgid "__new__ arg must be a user-type"
msgstr ""

#: extmod/moduhashlib.c extmod/modubinascii.c
#: extmod/modubinascii.c extmod/moduhashlib.c
msgid "a bytes-like object is required"
msgstr "sebuah objek menyerupai byte (bytes-like) dibutuhkan"

Expand Down Expand Up @@ -1338,7 +1338,7 @@ msgid "argument has wrong type"
msgstr ""

#: py/argcheck.c shared-bindings/gamepad/GamePad.c
#: shared-bindings/_stage/__init__.c shared-bindings/digitalio/DigitalInOut.c
#: shared-bindings/digitalio/DigitalInOut.c shared-bindings/_stage/__init__.c
msgid "argument num/types mismatch"
msgstr "argumen num/types tidak cocok"

Expand Down Expand Up @@ -1692,7 +1692,7 @@ msgstr ""
msgid "dict update sequence has wrong length"
msgstr ""

#: py/modmath.c py/runtime.c py/objfloat.c py/objint_mpz.c py/objint_longlong.c
#: py/runtime.c py/objint_longlong.c py/objfloat.c py/objint_mpz.c py/modmath.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
msgstr ""
Expand All @@ -1701,7 +1701,7 @@ msgstr ""
msgid "empty"
msgstr ""

#: extmod/moduheapq.c extmod/modutimeq.c
#: extmod/modutimeq.c extmod/moduheapq.c
msgid "empty heap"
msgstr "heap kosong"

Expand Down Expand Up @@ -1825,7 +1825,7 @@ msgstr "fungsi kehilangan argumen keyword '%q' yang dibutuhkan"
msgid "function missing required positional argument #%d"
msgstr "fungsi kehilangan argumen posisi #%d yang dibutuhkan"

#: py/argcheck.c py/objnamedtuple.c py/bc.c
#: py/objnamedtuple.c py/argcheck.c py/bc.c
#, c-format
msgid "function takes %d positional arguments but %d were given"
msgstr "fungsi mengambil posisi argumen %d tapi %d yang diberikan"
Expand Down Expand Up @@ -2079,7 +2079,7 @@ msgstr ""
msgid "need more than %d values to unpack"
msgstr ""

#: py/runtime.c py/objint_mpz.c py/objint_longlong.c
#: py/runtime.c py/objint_longlong.c py/objint_mpz.c
msgid "negative power with no float support"
msgstr ""

Expand Down Expand Up @@ -2185,12 +2185,12 @@ msgstr ""
msgid "odd-length string"
msgstr "panjang data string memiliki keganjilan (odd-length)"

#: py/objstrunicode.c py/objstr.c
#: py/objstr.c py/objstrunicode.c
#, fuzzy
msgid "offset out of bounds"
msgstr "modul tidak ditemukan"

#: py/objstrunicode.c py/objarray.c py/objstr.c py/objtuple.c
#: py/objstr.c py/objstrunicode.c py/objarray.c py/objtuple.c
#: shared-bindings/nvm/ByteArray.c
msgid "only slices with step=1 (aka None) are supported"
msgstr ""
Expand Down Expand Up @@ -2340,7 +2340,7 @@ msgstr ""
msgid "slice step cannot be zero"
msgstr ""

#: py/sequence.c py/objint.c
#: py/objint.c py/sequence.c
msgid "small int overflow"
msgstr ""

Expand Down Expand Up @@ -2578,6 +2578,11 @@ msgstr ""
msgid "unsupported types for %q: '%s', '%s'"
msgstr ""

#: py/objint.c
#, c-format
msgid "value would overflow a %d byte buffer"
msgstr ""

#: shared-bindings/displayio/Bitmap.c
msgid "value_count must be > 0"
msgstr ""
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy