Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-10727

New static analysis issues in v2_10_58_0-73-gda79fe8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Lustre 2.11.0
    • 3
    • 9223372036854775807

    Description

      Found 2 new static analysis issues in v2_10_58_0-73-gda79fe8:

      1. Use of Unvalidated Integer as Array Index
        • lustre/utils/lfs.c: in lfs_setdirstripe, Unvalidated integer value '...?lsa.lsa_stripe_count:lsa.lsa_nr_tgts' is received from 'strtoul' at line 4449 and can be used to access array at line 4552.
      2. Uninitialized Variable - possible
        • lnet/utils/lst.c: in jt_lst_stat, 'rc' might be used uninitialized in this function.

      The list of commits since the previous build v2_10_58_0-46-ge528677:

      da79fe8 LU-4423 lnet: free a struct kib_conn outside of the kiblnd_destroy_conn()
      caa2468 LU-10652 tests: restructure sanity 133[f,g]
      25911b2 LU-10639 tests: rename the tests
      88f889d LU-10617 tests: Dir's and file's stripe counts are mismatched
      ee9d75f LU-10612 tests: reply_single.sh,test_48: No space left
      1f50ba9 LU-10600 tests: clean up sanity tests 64d and 65k
      87577f4 LU-10570 obd: fix statfs handling
      971b039 LU-8854 llapi: remove lustre specific strlcpy & strlcat functions
      9dffcdd LU-9727 lustre: record if enable_audit is set on nodemap
      0b63291 LU-9250 tests: add parallel-scale xdd test
      643e3b4 LU-6867 test: detect active facet based on current state
      25cdbbb LU-10680 mdd: fix run_gc_task uninitialized
      905d377 LU-10561 flr: remove "--parent" option from lfs mirror command
      9e488fe LU-10663 utils: clear errno before check
      8c8f492 LU-9724 ldiskfs: update ext4-large-eas.patch to match upstream ext4
      5c74455 LU-10277 utils: 'lfs mkdir -i -1' pick the less full MDTs
      18c3e9c LU-9019 obd: migrate upcall cache to time64_t
      c3894ff LU-10270 lnet: remove an early rx code
      84099c2 LU-10181 tests: add FIO as test for DOM
      4c2f028 LU-9019 osd-ldiskfs: migrate to 64 bit time
      1947bc0 LU-5695 libcfs: watchdog dispatch thread fix
      4f40429 LU-10650 obd: add check to obd_statfs
      94fc345 LU-8990 lod: put root at cleanup
      2112eb4 LU-10550 flr: resync RDONLY state FLR file
      6ea9171 LU-10356 llite: have ll_write_end to sync for DIO
      8d1639b LU-8856 osd: mark specific transactions netfree
      9af57d0 LU-10670 test: make sanity-flr test_43 more reliable

      Attachments

        Activity

          People

            wc-triage WC Triage
            dmiter Dmitry Eremin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: