Hello community, here is the log from the commit of package hdparm for openSUSE:Factory checked in at 2019-02-24 16:58:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hdparm (Old) and /work/SRC/openSUSE:Factory/.hdparm.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hdparm" Sun Feb 24 16:58:00 2019 rev:72 rq:673281 version:9.58 Changes: -------- --- /work/SRC/openSUSE:Factory/hdparm/hdparm.changes 2018-11-06 13:58:26.707919946 +0100 +++ /work/SRC/openSUSE:Factory/.hdparm.new.28833/hdparm.changes 2019-02-24 16:58:05.812831672 +0100 @@ -1,0 +2,6 @@ +Sun Feb 10 11:11:01 UTC 2019 - [email protected] + +- Update to 9.58 + * fix segfault with -I onr non-ATA drives. + +------------------------------------------------------------------- Old: ---- hdparm-9.57.tar.gz New: ---- hdparm-9.58.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hdparm.spec ++++++ --- /var/tmp/diff_new_pack.T00BCD/_old 2019-02-24 16:58:06.368831407 +0100 +++ /var/tmp/diff_new_pack.T00BCD/_new 2019-02-24 16:58:06.368831407 +0100 @@ -1,7 +1,7 @@ # # spec file for package hdparm # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: hdparm -Version: 9.57 +Version: 9.58 Release: 0 Summary: A Program to get and set hard disk parameters License: SUSE-Permissive ++++++ hdparm-9.57.tar.gz -> hdparm-9.58.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdparm-9.57/Changelog new/hdparm-9.58/Changelog --- old/hdparm-9.57/Changelog 2018-10-16 19:39:11.000000000 +0200 +++ new/hdparm-9.58/Changelog 2018-10-26 14:27:22.000000000 +0200 @@ -1,3 +1,5 @@ +hdparm-9.58: + - fix bug from 9.57 whereby -I for non-ATA might segfault. hdparm-9.57: - added --set-sector-size flag to change logical sector size. - fixed handling of non-512 byte logical sectors in several places. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdparm-9.57/hdparm.8 new/hdparm-9.58/hdparm.8 --- old/hdparm-9.57/hdparm.8 2018-10-16 20:15:23.000000000 +0200 +++ new/hdparm-9.58/hdparm.8 2018-10-26 14:26:50.000000000 +0200 @@ -1,4 +1,4 @@ -.TH HDPARM 8 "October 2018" "Version 9.57" +.TH HDPARM 8 "October 2018" "Version 9.58" .SH NAME hdparm \- get/set SATA/IDE device parameters diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdparm-9.57/hdparm.c new/hdparm-9.58/hdparm.c --- old/hdparm-9.57/hdparm.c 2018-10-16 20:12:53.000000000 +0200 +++ new/hdparm-9.58/hdparm.c 2018-10-26 14:26:38.000000000 +0200 @@ -2,7 +2,7 @@ * hdparm.c - Command line interface to get/set hard disk parameters. * - by Mark Lord (C) 1994-2018 -- freely distributable. */ -#define HDPARM_VERSION "v9.57" +#define HDPARM_VERSION "v9.58" #define _LARGEFILE64_SOURCE /*for lseek64*/ #define _BSD_SOURCE /* for strtoll() */ @@ -1599,7 +1599,7 @@ unsigned int words = 256; get_identify_data(fd); - if((id[106] & 0xc000) == 0x4000) { + if(id && (id[106] & 0xc000) == 0x4000) { if (id[106] & (1<<12)) words = (id[118] << 16) | id[117]; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdparm-9.57/hdparm.lsm new/hdparm-9.58/hdparm.lsm --- old/hdparm-9.57/hdparm.lsm 2018-10-16 20:13:38.000000000 +0200 +++ new/hdparm-9.58/hdparm.lsm 2018-10-26 14:27:55.000000000 +0200 @@ -1,8 +1,9 @@ Begin4 Title: hdparm -Version: 9.57 -Entered-date: 2018-10-16 +Version: 9.58 +Entered-date: 2018-10-26 Description: hdparm - get/set hard disk parameters for Linux SATA/IDE drives. + v9.58 fixed -I crash on non-ATA v9.57 added --set-sector-size, general support for non-512 byte partitions v9.56 fixed --Istdout, added --Iraw v9.55 #include <sys/sysmacros.h> @@ -131,7 +132,7 @@ Maintained-by: [email protected] (Mark Lord) Primary-site: http://sourceforge.net/projects/hdparm/ Alternate-site: http://www.ibiblio.org/pub/Linux/system/hardware - 138K hdparm-9.57.tar.gz + 138K hdparm-9.58.tar.gz 7K hdparm.lsm Platforms: Linux Copying-policy: BSD License
