Skip to content

ecma_uint32_to_utf8_string did not fill string as zero-terminated. #5194

Open
@lygstate

Description

@lygstate
Contributor

The comment is ensure that

/**
 * ECMA-defined conversion of UInt32 to String (zero-terminated).
 *
 * See also:
 *          ECMA-262 v5, 9.8.1
 *
 * @return number of bytes copied to buffer
 */
lit_utf8_size_t
ecma_uint32_to_utf8_string (uint32_t value, /**< value to convert */
                            lit_utf8_byte_t *out_buffer_p, /**< buffer for string */
                            lit_utf8_size_t buffer_size) /**< size of buffer */

Activity

added a commit that references this issue on Dec 10, 2024
f03f55a
added 2 commits that reference this issue on Dec 10, 2024
c343f2a
f1817ec
added
bugUndesired behaviour
ecma coreRelated to core ECMA functionality
on Dec 11, 2024
added 9 commits that reference this issue on Dec 11, 2024
c212233
26f67ec
eafb1b1
08d2c15
0e9c892
b285ee5
b23f290
db5ec79
287772e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourecma coreRelated to core ECMA functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @lygstate@LaszloLango

      Issue actions

        ecma_uint32_to_utf8_string did not fill string as zero-terminated. · Issue #5194 · jerryscript-project/jerryscript