Skip to content
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

Docs updates according to internal requirements #20

Closed
wants to merge 6 commits into from

Conversation

LesiaChaban
Copy link
Member

No description provided.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 29, 2024
@LesiaChaban LesiaChaban requested a review from jraman567 June 29, 2024 16:13
@LesiaChaban
Copy link
Member Author

LesiaChaban commented Jun 29, 2024

Hello @jraman567,@mhkanda, According to OGHO requirements all repos should have SECURITY.md, LICENSE.txt, CONTRIBUTIND.md and README.md files. Could you please review and approve these changes if its acceptable for you? Also, is that possible to convert README.rst to .md format?

@LesiaChaban LesiaChaban requested a review from mhkanda July 15, 2024 09:50
@kheubaum
Copy link
Member

The master branch of this repository comes from an upstream project: https://gitlab.com/qemu-project/qemu. So the files you'd like to change aren't really ours to change. Are we required to change them anyway?

@LesiaChaban
Copy link
Member Author

Then we could skip this and add qemy repo to the exception list

jlevon pushed a commit to jlevon/qemu that referenced this pull request Jan 7, 2025
Found with test sbsaref introduced in [1].

[1] https://patchew.org/QEMU/[email protected]/

../block/vvfat.c:433:24: runtime error: index 14 out of bounds for type 'uint8_t [11]'
    #0 0x56151a66b93a in create_long_filename ../block/vvfat.c:433
    oracle#1 0x56151a66f3d7 in create_short_and_long_name ../block/vvfat.c:725
    oracle#2 0x56151a670403 in read_directory ../block/vvfat.c:804
    oracle#3 0x56151a674432 in init_directories ../block/vvfat.c:964
    oracle#4 0x56151a67867b in vvfat_open ../block/vvfat.c:1258
    oracle#5 0x56151a3b8e19 in bdrv_open_driver ../block.c:1660
    oracle#6 0x56151a3bb666 in bdrv_open_common ../block.c:1985
    oracle#7 0x56151a3cadb9 in bdrv_open_inherit ../block.c:4153
    oracle#8 0x56151a3c8850 in bdrv_open_child_bs ../block.c:3731
    oracle#9 0x56151a3ca832 in bdrv_open_inherit ../block.c:4098
    oracle#10 0x56151a3cbe40 in bdrv_open ../block.c:4248
    oracle#11 0x56151a46344f in blk_new_open ../block/block-backend.c:457
    oracle#12 0x56151a388bd9 in blockdev_init ../blockdev.c:612
    oracle#13 0x56151a38ab2d in drive_new ../blockdev.c:1006
    oracle#14 0x5615190fca41 in drive_init_func ../system/vl.c:649
    oracle#15 0x56151aa796dd in qemu_opts_foreach ../util/qemu-option.c:1135
    oracle#16 0x5615190fd2b6 in configure_blockdev ../system/vl.c:708
    oracle#17 0x56151910a307 in qemu_create_early_backends ../system/vl.c:2004
    oracle#18 0x561519113fcf in qemu_init ../system/vl.c:3685
    oracle#19 0x56151a7e438e in main ../system/main.c:47
    oracle#20 0x7f72d1a46249 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
    #21 0x7f72d1a46304 in __libc_start_main_impl ../csu/libc-start.c:360
    #22 0x561517e98510 in _start (/home/user/.work/qemu/build/qemu-system-aarch64+0x3b9b510)

The offset used can easily go beyond entry->name size. It's probably a
bug, but I don't have the time to dive into vfat specifics for now.

This change solves the ubsan issue, and is functionally equivalent, as
anything written past the entry->name array would not be read anyway.

Signed-off-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants