summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-04-02file-utils: avoid out of bound memory accessPablo Barciela1-1/+1
Fixes Clang static analyzer warning: file-utils.c:453:6: warning: Out of bound memory access (access exceeds upper limit of memory block) if (file_name [last_char] == G_DIR_SEPARATOR) ^~~~~~~~~~~~~~~~~~~~~
2019-04-02actions: avoid use of memory after it is freedPablo Barciela1-3/+3
Fixes Clang static analyzer warning: actions.c:137:5: warning: Use of memory after it is freed return full_uri; ^~~~~~~~~~~~~~~
2019-03-31fr-process: Fix memory leak: 'g_shell_quote' needs to be freedPablo Barciela1-3/+15
2019-03-31fr-process: Fix memory leak: 'g_strconcat' needs to be freedPablo Barciela1-12/+23
Use 'GString' instead 'g_strconcat'
2019-03-21[Security] fr-process: avoid 'strcpy' and 'strcat'Pablo Barciela1-16/+16
Use 'g_strlcpy' instead of 'strcpy', and 'g_strlcat' instead of 'strcat' Fixes Clang static analyzer warnings: fr-process.c:696:5: warning: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119 strcpy(rarfile, argv[2]); ^~~~~~ fr-process.c:698:5: warning: Call to function 'strcat' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcat'. CWE-119 strcat(rarfile, "part1.rar"); ^~~~~~ fr-process.c:705:32: warning: Out of bound memory access (accessed memory precedes memory block) rarfile[strlen(rarfile)-5]=0; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
2019-03-14fr-process: Fix memory leakrbuj1-3/+1
Fixes Clang static analyzer warning: fr-process.c:740:3: warning: Potential leak of memory pointed to by 'argv' g_warning ("The files could not be move: %s\n", commandline); ^~~~~~~~~
2019-02-20Avoid array index out of bounds parsing dpkg-deb --inforbuj1-2/+4
The first line of "dpkg-deb -I" output has only 5 words: old Debian package, version 0.939000. or new Debian package, version 2.0. Examples: $ wget http://archive.debian.org/debian/dists/Debian-0.93R6/binary/admin/acct-5-10.deb $ LANG=C dpkg-deb -I acct-5-10.deb old Debian package, version 0.939000. size 18338 bytes: control archive=1064, main archive=17260. 61 bytes, 3 lines conffiles 889 bytes, 20 lines control 570 bytes, 23 lines * postinst #!/bin/sh 107 bytes, 7 lines * postrm #!/bin/sh 212 bytes, 12 lines * preinst #!/bin/sh 212 bytes, 12 lines * prerm #!/bin/sh ... $ wget http://archive.debian.org/debian/dists/bo/main/binary-all/admin/alien_3.3.deb $ LANG=C dpkg-deb -I alien_3.3.deb new Debian package, version 2.0. size 20748 bytes: control archive=850 bytes. 394 bytes, 11 lines control 785 bytes, 13 lines md5sums
2019-02-20warning: Use of memory after it is freedrbuj1-1/+1
$ scan-build ./configure ... $ scan-build --keep-cc make ... fr-command-dpkg.c:76:23: warning: Use of memory after it is freed fdata->name = g_strdup (name); ^~~~~~~~~~~~~~~ ...
2019-02-19Read authors (updated) from engrampa.about gresourcerbuj7-10/+39
2019-01-08update copyright year to 2019Pablo Barciela1-1/+1
2019-01-03rar/unrar: Fix: "overwrite existing files" disabled must workPablo Barciela1-1/+1
Fixes https://github.com/mate-desktop/engrampa/issues/243
2018-12-28#225 fix a typoSergey Ponomarev1-1/+1
2018-12-28fix fr-command-cfile.c: fr_process_set_working_dirSergey Ponomarev1-1/+1
2018-12-28fr-command-cfile.c: fix indentationsponomarev1-61/+61
2018-12-28Added test integrity for brotlisponomarev1-0/+3
2018-12-28Added test integrity for the cfile compressors: gzip, bzip2, etc. But since ↵Sergey Ponomarev2-19/+60
most of them shows the message with file status to STDERR instead of STDOUT whe should show both in Test result window.
2018-12-11fr-window: show the pause button only if the dialog is workingPablo Barciela1-0/+3
2018-12-11fr-window: avoid 'gtk_dialog_add_button' with stock idsPablo Barciela1-3/+3
2018-12-08fr-window: hide the progress bar if the process is pausedPablo Barciela1-5/+7
2018-12-08fr-window: change the info label if process is paused/resumedPablo Barciela1-4/+9
2018-12-03fr-window: little improvements in the look of pause/resume buttonPablo Barciela1-6/+34
2018-12-02Adding pause and start functionszhuyaliang3-5/+98
change kill mode
2018-11-28Fix implementation and use of the alternative package nameIain Nicol1-5/+7
lookup Any real_name'' which was found was not getting used before. Also, when the lookup is unsuccessful, this means there is no /alternative/ package name. Thus we should use the hard-coded package name as the real_name for our PackageKit installation request. [bug #603757] origin commit: https://gitlab.gnome.org/GNOME/file-roller/commit/95aafc3c
2018-11-10Added support for brotli (*.tar.br) compressed tar archivesSergey Ponomarev2-0/+44
2018-10-30Add brotli supportSergey Ponomarev3-0/+25
2018-09-05fr-window: fix typoraveit651-1/+1
2018-08-22Add the ability to support 'unar' over .zip archivesPablo Barciela3-5/+28
Closes https://github.com/mate-desktop/engrampa/issues/210
2018-08-01Add support for OpenDocument formatsVictor Kareh2-1/+20
2018-07-12UI: on the properties dialog, focus the Close button instead of the Help ↵kn00tcn1-2/+2
button by default the Close button should be default so you can press Enter or Space without unintentionally opening the help manual
2018-06-03Add .a (Ar) supportPablo Barciela1-0/+2
Fixes https://github.com/mate-desktop/engrampa/issues/198#issuecomment-394156805
2018-05-09fr-window: Replace deprecated gtk_menu_popup functionsraveit651-20/+8
2018-04-04fix crash on exit after using Open With dialogmonsta1-10/+2
taken from: https://github.com/GNOME/file-roller/commit/ced6c25a93df7cc0ded59cc299a577441730faa3
2018-02-09avoid deprecated GtkStockPablo Barciela9-110/+110
2018-01-30require GTK+ 3.22 and GLib 2.50monsta4-50/+0
2018-01-09update copyright year to 2018monsta1-1/+1
2017-12-25add our copyright to About dialog and Caja extensionmonsta1-1/+2
2017-11-247z: Fix: rename files with password without the list encryptedPablo Barciela1-0/+13
2017-10-147z: Fix: delete/rename files/folders with the list encryptedPablo Barciela1-0/+2
based in file-roller commit: https://git.gnome.org/browse/file-roller/commit/?id=0bb26ee4223cdcbca9aa0816c81069b74f15c2f7 Fixes partially https://github.com/mate-desktop/engrampa/issues/185
2017-07-23don't use deprecated gtk_show_uriraveit652-1/+11
2017-07-23use a more common gtk+ functionraveit653-20/+2
2017-05-22Add the button "Show the Files and Quit" in the progress dialogZenWalker1-0/+11
New feature Fixes #146
2017-05-20Fix: create zip files in "maximum" compression levelZenWalker1-1/+5
based in file-roller commit: https://git.gnome.org/browse/file-roller/commit/?id=f9b8a010e7fe5a9bec158dfc5bd8ef1e11bf3842 Fixes: https://bugs.launchpad.net/ubuntu/+source/engrampa/+bug/1580860
2017-05-07Fix: Browsing history not correctZenWalker1-13/+28
Fixes #167 based in file-roller commit: https://git.gnome.org/browse/file-roller/commit/?id=bd8807beb9a026be2441aa492815b65a6fc94429
2017-05-04hide folders in "View All Files"ZenWalker1-3/+2
Fixes #172
2017-05-02Fix: Wrong behavior of Skip button in Replace file dialogZenWalker1-8/+47
based in file-roller commit: https://git.gnome.org/browse/file-roller/commit/?id=fe71357aa128d029b6ca4a9493b8a408c8aaf017 Fixes #161
2017-05-01update.ui: avoid deprecationsraveit651-25/+23
2017-05-01password.ui: avoid deprecationsraveit651-36/+28
2017-05-01new.ui: avoid deprecationsraveit651-127/+116
2017-05-01add-options.ui: avoid deprecationsraveit651-14/+11
2017-05-01delete.ui: avoid deprecationsraveit651-48/+31