Better HN
topnewbestaskshowjobs
Log inSign up

c-a

36 karma · joined May 11, 2013 (13y ago) · 6 submissions

Submissions

comment 12y ago · link · parent

Actually it's a code generator with a library of functions it can generate. This is how the "generics" are implemented: https://github.com/clipperhouse/gen/blob/master/templates.go

comment 12y ago · link · parent

Why call it a library when it's a code generator/compiler?

comment 13y ago · link · parent

Wouldn't a problem like this call for pulling the service off while it's being investigated/fixed?

comment 13y ago · link · parent

There's a live image here you can give a shot: http://ftp.gnome.org/pub/gnome/misc/promo-usb/gnome-3.10.iso

I think it's based on Fedora but I haven't tested it myself yet so I'm not sure.

comment 13y ago · link · parent

The request parsing code seems to be of dubious quality https://github.com/timothyej/Shortfin/blob/master/src/reques...

From a cursory glance:

1. https://github.com/timothyej/Shortfin/blob/master/src/reques...

should be (data_len - i >= 4) since it accesses data[i+3]

2. https://github.com/timothyej/Shortfin/blob/master/src/reques...

shouldn't headers[header_count]->key also be null terminated?

3. https://github.com/timothyej/Shortfin/blob/master/src/reques...

header_count can become greater than 49 which causes a heap overflow at https://github.com/timothyej/Shortfin/blob/master/src/reques... and https://github.com/timothyej/Shortfin/blob/master/src/reques...

comment 13y ago · link · parent

To quote the maintainer in another bug.

--- The reason is that these settings make no sense. Why should a terminal be transparent, or have an image behind everything, but the same not apply to, say, gedit, or firefox, or evolution?