Menu

#77 zipnote: Segfault during write operation

v1.0 (example)
open
nobody
None
5
2025-04-22
2025-04-22
No

Hello. This is Debian Bug #952509 and this is the full URL for the bug:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952509

Follows a summary of the bug.

(Note: I'm also attaching the reconstructed "crash00.zip" file which was provided later in the Debian bug)

koala writes:

A segfault during the write operation with zipnote version 3.0

How to reproduce the bug :

1 - zipnote crash00.zip > note

2 - zipnote -w crash00.zip < note

The execution trace show a memcpy with the wrong size :

######################################

free(0x559aff234480)                                                                                            = <void>

free(0x559aff2343a0)                                                                                            = <void>

fclose(0x559aff234150)                                                                                          = 0

ftello64(0x559aff233280, 1, 0, 0x559aff233010)                                                                  = 124

malloc(1)                                                                                                       = 0x559aff234480

memcpy(0x559aff234480, "", 0)                                                                                   = 0x559aff234480

memcpy(0x559aff234480, "mples/UT\005\0\177\0\0\0\0\0\0\0\0\0\0\301\0\0\0\0\0\0\0\036\003\n"..., 18446744073709551605 <no return ...>

--- SIGSEGV (Segmentation fault) ---
1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.