[Bug 202612] another libteken assert() fail on teken.c line 231

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202612

Bug ID: 202612
   Summary: another libteken assert() fail on teken.c line 231
   Product: Base System
   Version: 11.0-CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: k...@csie.org

Because syscons (a kernel driver) uses libteken, an assertion failure in
libteken would result in kernel panic.

How to reproduce:
To reproduce the assertion reliably, I modified
src/sys/teken/stress/teken_stress.c to take input from stdin.
$ echo -e '\e[?6h\e[5r\e[11344d' | ./teken_stress
Assertion failed: (t->t_cursor.tp_row >= t->t_originreg.ts_begin), function
teken_input_char, file /usr/src/sys/teken/teken.c, line 231.
Abort trap (core dumped)

Looks like this is very similar to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202540

This issue is found by afl-fuzz

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 202612] another libteken assert() fail on teken.c line 231

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202612

--- Comment #1 from commit-h...@freebsd.org ---
A commit references this bug:

Author: ed
Date: Mon Aug 24 07:49:27 UTC 2015
New revision: 287098
URL: https://svnweb.freebsd.org/changeset/base/287098

Log:
  Sync HPA and VPA implementations with CUP.

  After fixing the 16-bits integer arithmetic overflow in 286981, we
  should also make sure to fix the VPA sequence. Bring HPA and VPA in sync
  with how we now implement CUP.

  PR:202612
  Reported by:kcwu csie org
  MFC after:1 month

Changes:
  head/sys/teken/teken_subr.h

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 202612] another libteken assert() fail on teken.c line 231

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202612

--- Comment #2 from Ed Schouten  ---
Ah, good catch. Fixed!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 202614] [EFI] boot/loader.efi: Fix and improve the 'nvram' command

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202614

Bug ID: 202614
   Summary: [EFI] boot/loader.efi: Fix and improve the 'nvram'
command
   Product: Base System
   Version: 11.0-CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Many People
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: ganael.laplan...@corp.ovh.com

Created attachment 160296
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160296&action=edit
patch-sys-boot-efi-loader-main.c

Hi,

The embedded 'nvram' command of loader.efi (-CURRENT, r286279) fails to list
EFI variables with the following message :

??=

Find attached a patch that brings the following :

- Fix variables enumeration (to initiate the search, the 'VariableName'
argument of GetNextVariableName() should be a pointer to NULL, not a NULL
pointer [1])
- Add a '-v' (verbose) option to display variables' contents (now hidden by
default, as the output is un-readable with too many variables)
- Add the ability to specify a variable name to restrict display to variable(s)
matching this name only
- Print GUID along with each variable name
- Simplify contents' rendering by *always* printing them in hex (most of the
contents were un-readable in ascii)

Best Regards,
Ganael.

[1] UEFI Specification Version v2.5, p239:
http://www.uefi.org/sites/default/files/resources/UEFI%202_5.pdf

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 198563] [PATCH] Prevent spa_namespace_lock deadlock caused by spa_import_rootpool()

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198563

--- Comment #3 from commit-h...@freebsd.org ---
A commit references this bug:

Author: avg
Date: Mon Aug 24 08:44:45 UTC 2015
New revision: 287100
URL: https://svnweb.freebsd.org/changeset/base/287100

Log:
  spa_import_rootpool: prevent lock and resource leak

  The lock leak could lead to a deadlock later.

  PR:198563
  Submitted by:Fabian Keil 
  MFC after:1 week

Changes:
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 202614] [EFI] boot/loader.efi: Fix and improve the 'nvram' command

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202614

Ganael LAPLANCHE  changed:

   What|Removed |Added

 CC||marty...@freebsd.org
   Keywords||patch, uefi

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 198563] [PATCH] Prevent spa_namespace_lock deadlock caused by spa_import_rootpool()

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198563

Andriy Gapon  changed:

   What|Removed |Added

 Status|New |In Progress
   Assignee|freebsd-bugs@FreeBSD.org|a...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 202622] [Feature Request] Add pubkey support in pkg(7)

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202622

Bug ID: 202622
   Summary: [Feature Request] Add pubkey support in pkg(7)
   Product: Base System
   Version: 11.0-CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: bin
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: shawn.w...@hardenedbsd.org

pkg bootstrap currently doesn't support signature_type="pubkey". It either
needs to or the pubkey signature type should be removed entirely in favor of
fingerprints. This is a problem with downstream distributions like HardenedBSD
who use signature_type="pubkey" and haven't yet made the switch to fingerprints
due to lack of documentation surrounding fingerprints.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 202625] [cam][libcam][patch] PERSISTENT RESERVATION OUT needs scsi_cmd->length to be populated

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202625

Bug ID: 202625
   Summary: [cam][libcam][patch] PERSISTENT RESERVATION OUT needs
scsi_cmd->length to be populated
   Product: Base System
   Version: 10.2-RELEASE
  Hardware: amd64
OS: Any
Status: New
  Keywords: patch
  Severity: Affects Many People
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: niakr...@gmail.com
  Keywords: patch

Created attachment 160309
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160309&action=edit
patch scsi_all.c and scsi_all.h

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 202625] [cam][libcam][patch] PERSISTENT RESERVE OUT needs scsi_cmd->length to be populated

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202625

niakr...@gmail.com changed:

   What|Removed |Added

Summary|[cam][libcam][patch]|[cam][libcam][patch]
   |PERSISTENT RESERVATION OUT  |PERSISTENT RESERVE OUT
   |needs scsi_cmd->length to   |needs scsi_cmd->length to
   |be populated|be populated

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 201786] [sysctl] kern.ipc.somaxconn isn't visible when listing all variables

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201786

Mariusz Zaborski  changed:

   What|Removed |Added

   Assignee|osho...@freebsd.org |freebsd-bugs@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 200859] [bhyve] vbsc_ident buffer accessed out of bounds

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200859

Peter Grehan  changed:

   What|Removed |Added

 CC||dcb...@hotmail.com

--- Comment #1 from Peter Grehan  ---
*** Bug 201288 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 201288] usr.sbin/bhyve/pci_virtio_block.c:320: 21 into 20 won't go

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201288

Peter Grehan  changed:

   What|Removed |Added

 Status|New |Closed
 CC||gre...@freebsd.org
 Resolution|--- |DUPLICATE

--- Comment #1 from Peter Grehan  ---


*** This bug has been marked as a duplicate of bug 200859 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 202629] Add AMD Beema and Mullins supprot to amdtemp

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202629

Bug ID: 202629
   Summary: Add AMD Beema and Mullins supprot to amdtemp
   Product: Base System
   Version: 10.2-STABLE
  Hardware: amd64
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: bin
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: bing...@gmail.com

Temperature sensors are not reading with amdtemp.

I believe these were the relevant commits in Linux kernel.

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/hwmon/k10temp.c?id=ec0159503ae74aeb834e78366bdf4b9663ca1129

http://marc.info/?l=linux-kernel&m=139291362126057&w=2​

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

[Bug 202629] Add AMD Beema and Mullins support to amdtemp

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202629

bing...@gmail.com changed:

   What|Removed |Added

Summary|Add AMD Beema and Mullins   |Add AMD Beema and Mullins
   |supprot to amdtemp  |support to amdtemp

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 202622] [Feature Request] Add pubkey support in pkg(7)

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202622

Xin LI  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|freebsd-port...@freebsd.org
 CC||delp...@freebsd.org,
   ||sect...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 181436] file(1) cannot detect BSD makefiles

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181436

Xin LI  changed:

   What|Removed |Added

 CC||chris...@zoulas.com,
   ||delp...@freebsd.org
 Status|In Progress |Open

--- Comment #2 from Xin LI  ---
This is still reproducible on -HEAD (file-5.23).

Looks like I can extend magic/Magdir/make to add a few regex to work around
this, but it's not clear if that's the right thing to do so I think it's
reasonable to add the file(1) author.

The following regex may be useful:

\^PROG=
\^PROG_CXX=
\^MAN
\^\.include\ <

etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 181436] file(1) cannot detect BSD makefiles

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181436

Xin LI  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|delp...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 202120] pam_ck_connector.so causes login to crash on i386

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202120

Xin LI  changed:

   What|Removed |Added

  Component|bin |Individual Port(s)
 CC||delp...@freebsd.org
Product|Base System |Ports & Packages
   Assignee|freebsd-bugs@FreeBSD.org|gn...@freebsd.org
   Severity|Affects Many People |Affects Some People
Version|10.1-STABLE |Latest

--- Comment #1 from Xin LI  ---
This is installed by third party (consolekit), recategorize and assign.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 202308] [patch] src/usr.bin/at/Makefile.inc1 - remove unused version definition

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202308

Xin LI  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|delp...@freebsd.org
 CC||delp...@freebsd.org
 Status|New |In Progress

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 202141] libzfs.so: Undefined symbol "uu_avl_pool_create" when using java

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202141

Xin LI  changed:

   What|Removed |Added

 Status|New |Closed
 Resolution|--- |DUPLICATE
 CC||delp...@freebsd.org
   Assignee|freebsd-bugs@FreeBSD.org|delp...@freebsd.org

--- Comment #1 from Xin LI  ---
This is duplicate of 183081 (fixed in r272484, and merged to stable/10 in
r275236).  Please upgrade to FreeBSD 10.2-RELEASE or apply the same patch, as
we don't feel this as appropriate for an EN.

*** This bug has been marked as a duplicate of bug 183081 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 202147] default listen queue in casperd is too small for some applications

2015-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202147

Ed Schouten  changed:

   What|Removed |Added

 CC||e...@freebsd.org

--- Comment #1 from Ed Schouten  ---
Would it make sense to just use SOMAXCONN here?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"