| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/ |
| H A D | CVE-2019-7575.patch | 9 If a WAV format defines shorter audio stream and decoded MS ADPCM data chunk 31 - Uint8 *freeable, *encoded, *encoded_end, *decoded; 32 + Uint8 *freeable, *encoded, *encoded_end, *decoded, *decoded_end; 39 decoded = *audio_buf; 40 + decoded_end = decoded + *audio_len; 57 + if (decoded + 4 + (stereo ? 4 : 0) > decoded_end) goto invalid_size; 58 decoded[0] = state[0]->iSamp2&0xFF; 59 decoded[1] = state[0]->iSamp2>>8; 60 decoded += 2; 67 + if (decoded + 4 > decoded_end) goto invalid_size;
|
| H A D | CVE-2019-7572.patch | 53 - Uint8 *freeable, *encoded, *encoded_end, *decoded; 54 + Uint8 *freeable, *encoded, *encoded_end, *decoded, *decoded_end; 61 decoded = *audio_buf; 62 + decoded_end = decoded + *audio_len; 70 + if (decoded + 2 > decoded_end) goto invalid_size; 71 decoded[0] = (Uint8)(state[c].sample&0xFF); 72 decoded[1] = (Uint8)(state[c].sample>>8); 73 decoded += 2; 78 + if (decoded + 4 * 4 * channels > decoded_end) 80 Fill_IMA_ADPCM_block(decoded, encoded,
|
| H A D | CVE-2019-7574.patch | 29 - Uint8 *freeable, *encoded, *decoded; 30 + Uint8 *freeable, *encoded, *encoded_end, *decoded; 55 Fill_IMA_ADPCM_block(decoded, encoded,
|
| H A D | CVE-2019-7577.patch | 13 This patch fixes it by checking a MS ADPCM data to be decoded are not 64 - Uint8 *freeable, *encoded, *decoded; 65 + Uint8 *freeable, *encoded, *encoded_end, *decoded; 100 decoded[0] = new_sample&0xFF;
|
| /openbmc/libcper/sections/ |
| H A D | cper-section-dmar-iommu.c | 117 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_iommu_to_cper() local 120 if (decoded == NULL) { in ir_section_dmar_iommu_to_cper() 123 memcpy(section_cper->EventLogEntry, decoded, decoded_len); in ir_section_dmar_iommu_to_cper() 124 free(decoded); in ir_section_dmar_iommu_to_cper() 130 decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_iommu_to_cper() 133 if (decoded == NULL) { in ir_section_dmar_iommu_to_cper() 136 memcpy(section_cper->DeviceTableEntry, decoded, decoded_len); in ir_section_dmar_iommu_to_cper() 137 free(decoded); in ir_section_dmar_iommu_to_cper()
|
| H A D | cper-section-cxl-protocol.c | 297 UINT8 *decoded; in ir_section_cxl_protocol_to_cper() local 310 decoded = base64_decode( in ir_section_cxl_protocol_to_cper() 315 if (decoded == NULL) { in ir_section_cxl_protocol_to_cper() 320 decoded, decoded_len); in ir_section_cxl_protocol_to_cper() 321 free(decoded); in ir_section_cxl_protocol_to_cper() 356 decoded = base64_decode(json_object_get_string(encodedsrc), in ir_section_cxl_protocol_to_cper() 359 if (decoded == NULL) { in ir_section_cxl_protocol_to_cper() 363 fwrite(decoded, decoded_len, 1, out); in ir_section_cxl_protocol_to_cper() 365 free(decoded); in ir_section_cxl_protocol_to_cper() 372 decoded = base64_decode(json_object_get_string(encodederr), in ir_section_cxl_protocol_to_cper() [all …]
|
| H A D | cper-section-dmar-vtd.c | 202 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_vtd_to_cper() local 205 if (decoded == NULL) { in ir_section_dmar_vtd_to_cper() 208 memcpy(section_cper->RootEntry, decoded, decoded_len); in ir_section_dmar_vtd_to_cper() 209 free(decoded); in ir_section_dmar_vtd_to_cper() 216 decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_vtd_to_cper() 219 if (decoded == NULL) { in ir_section_dmar_vtd_to_cper() 223 memcpy(section_cper->ContextEntry, decoded, decoded_len); in ir_section_dmar_vtd_to_cper() 224 free(decoded); in ir_section_dmar_vtd_to_cper()
|
| H A D | cper-section-ccix-per.c | 135 UINT8 *decoded = base64_decode( in ir_section_ccix_per_to_cper() local 138 if (decoded == NULL) { in ir_section_ccix_per_to_cper() 142 fwrite(decoded, decoded_len, 1, out); in ir_section_ccix_per_to_cper() 144 free(decoded); in ir_section_ccix_per_to_cper()
|
| H A D | cper-section-cxl-component.c | 180 UINT8 *decoded = base64_decode( in ir_section_cxl_component_to_cper() local 184 if (decoded == NULL) { in ir_section_cxl_component_to_cper() 188 fwrite(decoded, decoded_len, 1, out); in ir_section_cxl_component_to_cper() 190 free(decoded); in ir_section_cxl_component_to_cper()
|
| H A D | cper-section-pcie.c | 1600 UINT8 *decoded = NULL; in ir_section_pcie_to_cper() local 1606 decoded = base64_decode(json_object_get_string(encoded), in ir_section_pcie_to_cper() 1609 if (decoded == NULL) { in ir_section_pcie_to_cper() 1613 memcpy(section_cper->Capability.PcieCap, decoded, in ir_section_pcie_to_cper() 1615 free(decoded); in ir_section_pcie_to_cper() 1620 decoded = NULL; in ir_section_pcie_to_cper() 1628 decoded = base64_decode(json_object_get_string(encoded), in ir_section_pcie_to_cper() 1632 if (decoded == NULL) { in ir_section_pcie_to_cper() 1636 memcpy(section_cper->AerInfo.PcieAer, decoded, in ir_section_pcie_to_cper() 1638 free(decoded); in ir_section_pcie_to_cper()
|
| /openbmc/qemu/tests/unit/ |
| H A D | check-qjson.c | 795 int64_t decoded; in int_number() member 817 g_assert_cmpint(ival, ==, test_cases[i].decoded); in int_number() 818 if (test_cases[i].decoded >= 0) { in int_number() 820 g_assert_cmpuint(uval, ==, (uint64_t)test_cases[i].decoded); in int_number() 825 (double)test_cases[i].decoded); in int_number() 840 uint64_t decoded; in uint_number() member 859 g_assert_cmpuint(uval, ==, test_cases[i].decoded); in uint_number() 862 (double)test_cases[i].decoded); in uint_number() 877 double decoded; in float_number() member 899 g_assert_cmpfloat(qnum_get_double(qnum), ==, test_cases[i].decoded); in float_number() [all …]
|
| /openbmc/libcper/tests/ |
| H A D | base64_test.c | 45 UINT8 *decoded = in test_base64_decode_good() local 47 assert(decoded != NULL); in test_base64_decode_good() 49 assert(memcmp(decoded, good_decode_outputs[i], decoded_len) == in test_base64_decode_good() 51 free(decoded); in test_base64_decode_good()
|
| /openbmc/libcper/cli-app/ |
| H A D | cper-convert.c | 114 UINT8 *decoded = base64_decode(fbuff, readsize, &decoded_len); in cper_to_json() local 115 if (decoded == NULL) { in cper_to_json() 119 free(decoded); in cper_to_json() 122 if (!header_valid((const char *)decoded, decoded_len)) { in cper_to_json() 125 free(decoded); in cper_to_json() 130 fbuff = (char *)decoded; in cper_to_json() 133 decoded = NULL; in cper_to_json()
|
| /openbmc/u-boot/fs/jffs2/ |
| H A D | mini_inflate.c | 30 stream->decoded = 0; in init_stream() 115 stream->decoded += length; in decompress_none() 150 stream->decoded++; in decompress_huffman() 172 stream->decoded += length; in decompress_huffman() 360 if (btype == NO_COMP) decompress_none(&stream, dest + stream.decoded); in decompress_block() 362 decompress_dynamic(&stream, dest + stream.decoded); in decompress_block() 363 else if (btype == FIXED_COMP) decompress_fixed(&stream, dest + stream.decoded); in decompress_block() 370 putLabeledWord("stream.decoded = ",stream.decoded); in decompress_block() 374 return stream.error ? -stream.error : stream.decoded; in decompress_block()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/audiofile/files/ |
| H A D | 0005-clamp-index-values-to-fix-index-overflow-in-IMA.cpp.patch | 23 @@ -169,7 +169,7 @@ int IMA::decodeBlockWAVE(const uint8_t *encoded, int16_t *decoded) 30 *decoded++ = m_adpcmState[c].previousValue; 32 @@ -210,7 +210,7 @@ int IMA::decodeBlockQT(const uint8_t *encoded, int16_t *decoded)
|
| H A D | 0008-Check-for-multiplication-overflow-in-MSADPCM-decodeS.patch | 8 decoded block if an error occurs. 105 @@ -212,13 +248,16 @@ int MSADPCM::decodeBlock(const uint8_t *encoded, int16_t *decoded) 115 *decoded++ = newSample; 121 *decoded++ = newSample;
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libb64/libb64/ |
| H A D | 0001-example-Do-not-run-the-tests.patch | 23 - ./c-example2 loremgibson.txt encoded.txt decoded.txt 24 - diff -q loremgibson.txt decoded.txt
|
| /openbmc/libbej/test/ |
| H A D | bej_encoder_test.cpp | 375 std::string decoded = decoder.getOutput(); in TEST_P() local 376 nlohmann::json jsonDecoded = nlohmann::json::parse(decoded); in TEST_P() 408 std::string decoded = decoder.getOutput(); in TEST_P() local 409 nlohmann::json jsonDecoded = nlohmann::json::parse(decoded); in TEST_P() 426 decoded = decoder.getOutput(); in TEST_P() 427 jsonDecoded = nlohmann::json::parse(decoded); in TEST_P()
|
| /openbmc/u-boot/doc/device-tree-bindings/spi/ |
| H A D | spi-zynq.txt | 19 - is-decoded-cs : Flag to indicate whether decoder is used or not. 30 is-decoded-cs = <0>;
|
| /openbmc/libcper/ |
| H A D | ir-parse.c | 193 UINT8 *decoded = base64_decode( in ir_section_to_cper() local 196 if (decoded == NULL) { in ir_section_to_cper() 200 fwrite(decoded, decoded_len, 1, out); in ir_section_to_cper() 201 free(decoded); in ir_section_to_cper()
|
| /openbmc/bmcweb/test/http/ |
| H A D | utility_test.cpp | 103 std::string decoded; in TEST() local 104 EXPECT_TRUE(base64Decode(encoded, decoded)); in TEST() 105 EXPECT_EQ(data, decoded); in TEST()
|
| /openbmc/u-boot/drivers/input/ |
| H A D | Kconfig | 47 then decoded into keys by this driver. 55 then decoded into keys by this driver. 63 then decoded into keys by this driver.
|
| /openbmc/u-boot/include/jffs2/ |
| H A D | mini_inflate.h | 35 unsigned long decoded; /* The number of bytes decoded */ member
|
| /openbmc/u-boot/doc/device-tree-bindings/exynos/ |
| H A D | isp-spi.txt | 4 Since Peripheral id in EXYNOS is decoded based on Interrupts, currently
|
| /openbmc/u-boot/arch/arm/dts/ |
| H A D | zynq-zc770-xm012.dts | 59 is-decoded-cs = <0>;
|