New submission from UltraLutra <eitania...@gmail.com>:
Hello, I'm trying to read MSI files using msilib. Some files make python crash on Record.GetString of a specific cell. Attached is one of the files that causes the crash, and this is the code that is causing it to crash: db = msilib.OpenDatabase('6bcd682374529631be60819d20a71d9d40c67bf0b1909faa459298eda998f833', msilib.MSIDBOPEN_READONLY) query = db.OpenView(f'SELECT * FROM Registry') query.Execute(None) for i in range(6): record = query.Fetch() record.GetString(5) The crash seems to be by trying to read the Value columns of the last row in the Registry table. file: https://github.com/AsafEitani/msilib_crash ---------- components: Windows messages: 361495 nosy: UltraLutra, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Python 3.7.3 Crash on msilib actions type: crash versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39570> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com